Closed mrexodia closed 2 years ago
@diversenok
I see. Looks like you're using an older SDK (10.0.19041 or below) that doesn't include QUEUE_USER_APC_FLAGS
. I'll update the fallback definition in phnt shortly. Until then, you can use a workaround:
#define PHNT_VERSION PHNT_WIN11
#include <phnt_windows.h>
#include <phnt.h>
Yeah I would expect the headers to work with the SDK version for the PHNT_VERSION you use. For now I switched to an older version and that seems to work!
Seems to be fixed by 0fc01f192ab850f2fb97747b155f40a51c6c7253, thanks!
The latest version doesn't work when you do:
Because of:
This API should probably be guarded by a Windows 11 check?