[KERNEL32] Add missing NTOS_MODE_USER when including the NDK.

This commit is contained in:
Hermès Bélusca-Maïto 2022-01-11 22:44:03 +01:00
parent c1a8dce23c
commit afb04208f7
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 0 deletions

View file

@ -32,6 +32,7 @@
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDI_WS03SP1
#define NTOS_MODE_USER
#include <ndk/cmfuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/iofuncs.h>

View file

@ -10,6 +10,7 @@
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDI_WS03SP1
#define NTOS_MODE_USER
#include <ndk/iofuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/obfuncs.h>