This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** calling ntdll stuff from usermode **/ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <winternl.h> | |
#include <ntstatus.h> | |
#include "win_structs.h" | |
// for this example, win_structs.h contains the structs and enums that can be found | |
// here: https://docs.microsoft.com/en-us/windows/win32/api/winternl/nf-winternl-ntquerysysteminformation |