- Define DECLSPEC_ADDRSAFE and FORCEINLINE for gcc in winnt.h
[reactos.git] / reactos / include / win32k / misc.h
index e9660bb..e03faa6 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __WIN32K_MISC_H
 #define __WIN32K_MISC_H
 
+#ifndef NTOS_MODE_USER
+
 /* W32PROCESS flags */
 #define W32PF_NOWINDOWGHOSTING (0x0001)
 #define W32PF_MANUALGUICHECK   (0x0002)
@@ -10,4 +12,6 @@ VOID
 FASTCALL
 DestroyThreadWindows(struct _ETHREAD *Thread);
 
+#endif
+
 #endif /* __WIN32K_MISC_H */