[BROWSEUI] SHExplorerParseCmdLine: Fix parsing of /root (#6752)
[reactos.git] / win32ss / win32kp.h
index 5e60855..3f44657 100644 (file)
 
 #pragma once
 
-#if 0
-#ifndef _MSC_VER
-#define PLACE_IN_SECTION(s) __attribute__((section(s)))
-#define INIT_FUNCTION PLACE_IN_SECTION("INIT")
-#else
-#define INIT_FUNCTION
-#endif
-#else
-#define INIT_FUNCTION
-#endif
-
 /* Enable debugging features */
 #define GDI_DEBUG 0
+#define DBG_ENABLE_GDIOBJ_BACKTRACES 0
 #define DBG_ENABLE_EVENT_LOGGING 0
 #define DBG_ENABLE_SERVICE_HOOKS 0
 
-/* Misc headers  */
-#include "user/ntuser/win32kdebug.h"
-#include "user/ntuser/mmcopy.h"
-#include "user/ntuser/tags.h"
-#include "gdi/ntgdi/rect.h"
-#include "gdi/ntgdi/misc.h"
-
 /* Internal NtGdi Headers */
 typedef struct _DC *PDC;
-typedef struct _PALETTE *PPALETTE;
+#include "gdi/ntgdi/rect.h"
+#include "gdi/ntgdi/misc.h"
 #include "gdi/ntgdi/gdiobj.h"
+#include "gdi/ntgdi/palette.h"
 #include "gdi/eng/surface.h"
+#include "gdi/eng/mdevobj.h"
 #include "gdi/eng/pdevobj.h"
 #include "gdi/eng/ldevobj.h"
 #include "gdi/eng/device.h"
@@ -54,7 +40,6 @@ typedef struct _PALETTE *PPALETTE;
 #include "gdi/ntgdi/brush.h"
 #include "gdi/ntgdi/color.h"
 #include "gdi/ntgdi/bitmaps.h"
-#include "gdi/ntgdi/palette.h"
 #include "gdi/ntgdi/region.h"
 #include "gdi/ntgdi/dc.h"
 #include "gdi/ntgdi/dib.h"
@@ -65,21 +50,24 @@ typedef struct _PALETTE *PPALETTE;
 #include "gdi/ntgdi/pen.h"
 #include "gdi/ntgdi/cliprgn.h"
 #include "gdi/ntgdi/coord.h"
-#include "gdi/ntgdi/gdifloat.h"
 #include "gdi/ntgdi/path.h"
 #include "gdi/dib/dib.h"
 #include "reactx/ntddraw/intddraw.h"
 
 /* Internal NtUser Headers */
-typedef struct _DESKTOP *PDESKTOP;
+#include "user/ntuser/win32kdebug.h"
 #include "user/ntuser/win32.h"
-#include "user/ntuser/object.h"
+#include "user/ntuser/tags.h"
+#ifndef __cplusplus
 #include "user/ntuser/ntuser.h"
+#include "user/ntuser/usrheap.h"
+#include "user/ntuser/object.h"
 #include "user/ntuser/shutdown.h"
 #include "user/ntuser/cursoricon.h"
 #include "user/ntuser/accelerator.h"
 #include "user/ntuser/hook.h"
 #include "user/ntuser/clipboard.h"
+#include "user/ntuser/display.h"
 #include "user/ntuser/winsta.h"
 #include "user/ntuser/msgqueue.h"
 #include "user/ntuser/desktop.h"
@@ -94,6 +82,7 @@ typedef struct _DESKTOP *PDESKTOP;
 #include "user/ntuser/painting.h"
 #include "user/ntuser/class.h"
 #include "user/ntuser/window.h"
+#include "user/ntuser/security.h"
 #include "user/ntuser/sysparams.h"
 #include "user/ntuser/prop.h"
 #include "user/ntuser/guicheck.h"
@@ -103,5 +92,12 @@ typedef struct _DESKTOP *PDESKTOP;
 #include "user/ntuser/scroll.h"
 #include "user/ntuser/winpos.h"
 #include "user/ntuser/callback.h"
+#include "user/ntuser/mmcopy.h"
+#include "user/ntuser/ghost.h"
+
+/* CSRSS Interface */
+#include "user/ntuser/csr.h"
+
+#endif // __cplusplus
 
 #include "gdi/ntgdi/gdidebug.h"