Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXGIAdapterRemovalSupportTest nt.h not found #840

Open
billgan1024 opened this issue Sep 6, 2023 · 2 comments
Open

DXGIAdapterRemovalSupportTest nt.h not found #840

billgan1024 opened this issue Sep 6, 2023 · 2 comments
Labels
bug samples Issues related to Samples

Comments

@billgan1024
Copy link

In this example, the nt.h headers are not found. I tried installing the windows driver kit but there was still no nt.h header.

@walbourn walbourn added bug samples Issues related to Samples labels Sep 7, 2023
@walbourn
Copy link
Member

walbourn commented Sep 7, 2023

That's definitely a bug. the nt.h header is internal only.

If you remove the reference, what symbols are undefined if any?

@walbourn walbourn closed this as completed Sep 7, 2023
@walbourn walbourn reopened this Sep 7, 2023
@weltkante
Copy link

(Just came across this issue randomly and figured I'd take a quick look)

The missing definitions are NTSTATUS, NT_SUCCESS(Status) and RtlEqualLuid. If I add sensible definitions in pch.h and comment out the includes for nt.h, ntrtl.h and nturtl.h I can compile, but I didn't test if the tool works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug samples Issues related to Samples
Projects
None yet
Development

No branches or pull requests

3 participants