Revert r20367 and r20368 since they crash the GUI in second boot by hitting a assert...
[reactos.git] / reactos / include / win32k / pen.h
similarity index 54%
rename from reactos/subsys/win32k/include/pen.h
rename to reactos/include/win32k/pen.h
index e76555d..ce2c5ac 100644 (file)
@@ -1,14 +1,32 @@
-#ifndef __WIN32K_PEN_H\r
-#define __WIN32K_PEN_H\r
-\r
-#include "gdiobj.h"\r
-#include "brush.h"\r
-\r
-/* Internal interface */\r
-\r
-#define PENOBJ_AllocPen() ((HPEN)GDIOBJ_AllocObj(GDI_OBJECT_TYPE_PEN))\r
-#define PENOBJ_FreePen(hBMObj) GDIOBJ_FreeObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_PEN)\r
-#define PENOBJ_LockPen(hBMObj) ((PGDIBRUSHOBJ)GDIOBJ_LockObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_PEN))\r
-#define PENOBJ_UnlockPen(pPenObj) GDIOBJ_UnlockObjByPtr(pPenObj)\r
-\r
-#endif\r
+#ifndef __WIN32K_PEN_H
+#define __WIN32K_PEN_H
+
+#include <win32k/gdiobj.h>
+#include <win32k/brush.h>
+
+/* Internal interface */
+
+#define PENOBJ_AllocPen() ((HPEN)GDIOBJ_AllocObj(GDI_OBJECT_TYPE_PEN))
+#define PENOBJ_FreePen(hBMObj) GDIOBJ_FreeObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_PEN)
+#define PENOBJ_LockPen(hBMObj) ((PGDIBRUSHOBJ)GDIOBJ_LockObj((HGDIOBJ) hBMObj, GDI_OBJECT_TYPE_PEN))
+#define PENOBJ_UnlockPen(pPenObj) GDIOBJ_UnlockObjByPtr(pPenObj)
+
+HPEN STDCALL
+NtGdiCreatePen(
+   INT PenStyle,
+   INT Width,
+   COLORREF Color);
+
+HPEN STDCALL
+NtGdiCreatePenIndirect(
+   CONST PLOGPEN LogBrush);
+
+HPEN STDCALL
+NtGdiExtCreatePen(
+   DWORD PenStyle,
+   DWORD Width,
+   CONST LOGBRUSH *LogBrush,
+   DWORD StyleCount,
+   CONST DWORD *Style);
+
+#endif