Revert r20367 and r20368 since they crash the GUI in second boot by hitting a assert...
[reactos.git] / reactos / include / win32k / pen.h
diff --git a/reactos/include/win32k/pen.h b/reactos/include/win32k/pen.h
new file mode 100644 (file)
index 0000000..ce2c5ac
--- /dev/null
@@ -0,0 +1,32 @@
+#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