Is there a way to call Windows Native API functions from user mode?

I want to call some Native API function from user mode with C ++. I was wondering if it is possible to bypass the Windows API completely and directly call Native API functions from user mode.

If possible, then code examples will really be useful.

+7
source share
1 answer

Yes, it is possible, since all functions are exposed to ntdll.dll . However, you will need to write your own header file for the API functions you want to use. There is no official documentation for the NT API, and it is not intended for direct use. But it is possible.

Here is a starting point.

+11
source

All Articles