summaryrefslogtreecommitdiffstats
path: root/make/stub_includes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-10 05:28:15 +0100
committerSven Gothel <[email protected]>2010-12-10 05:28:15 +0100
commit51bde21c5131c800f987c55bf1c3c40fd0ebc076 (patch)
tree1b72be86bc5ccf388e2798d2b0292ecb696484f4 /make/stub_includes
parent4b5d4bcbf91af522141ecc682dd8d5c2d0e6ed1d (diff)
GDI: Add GetObjectType(..)
Diffstat (limited to 'make/stub_includes')
-rw-r--r--make/stub_includes/win32/wingdi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/make/stub_includes/win32/wingdi.h b/make/stub_includes/win32/wingdi.h
index 23506a463..73f6276fd 100644
--- a/make/stub_includes/win32/wingdi.h
+++ b/make/stub_includes/win32/wingdi.h
@@ -133,6 +133,24 @@ typedef struct tagPIXELFORMATDESCRIPTOR {
#define SW_FORCEMINIMIZE 11
#define SW_MAX 11
+/**
+ * GetObjectType() Command
+ */
+#define OBJ_PEN 1
+#define OBJ_BRUSH 2
+#define OBJ_DC 3
+#define OBJ_METADC 4
+#define OBJ_PAL 5
+#define OBJ_FONT 6
+#define OBJ_BITMAP 7
+#define OBJ_REGION 8
+#define OBJ_METAFILE 9
+#define OBJ_MEMDC 10
+#define OBJ_EXTPEN 11
+#define OBJ_ENHMETADC 12
+#define OBJ_ENHMETAFILE 13
+#define OBJ_COLORSPACE 14
+
#endif /* WGL_GDI_VERSION_1_X */
#ifndef WGL_GDI_VERSION_1_X
@@ -174,6 +192,7 @@ WINUSERAPI BOOL WINAPI ShowWindow(HWND hWnd, int nCmdShow);
WINUSERAPI HDC WINAPI GetDC(HWND);
WINUSERAPI int WINAPI ReleaseDC(HWND hWnd, HDC hDC);
WINUSERAPI BOOL WINAPI DestroyWindow(HWND hWnd);
+WINUSERAPI DWORD WINAPI GetObjectType(HGDIOBJ h);
// Routines for changing gamma ramp of display device
WINGDIAPI BOOL WINAPI GetDeviceGammaRamp(HDC,LPVOID);