- Make the NDK compatible with the MSDDK again.
[reactos.git] / reactos / include / ndk / cmfuncs.h
index b149894..9c0fa7b 100644 (file)
@@ -230,6 +230,7 @@ NtUnloadKey(
     IN POBJECT_ATTRIBUTES KeyObjectAttributes\r
 );\r
 \r
+#ifdef NTOS_MODE_USER\r
 NTSTATUS\r
 NTAPI\r
 ZwCreateKey(\r
@@ -242,6 +243,7 @@ ZwCreateKey(
     IN PULONG Disposition OPTIONAL\r
 );\r
 \r
+\r
 NTSTATUS\r
 NTAPI\r
 ZwDeleteKey(\r
@@ -426,6 +428,7 @@ ZwSetValueKey(
     IN PVOID Data,\r
     IN ULONG DataSize\r
 );\r
+#endif\r
 \r
 NTSTATUS\r
 NTAPI\r