From 51bde21c5131c800f987c55bf1c3c40fd0ebc076 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 10 Dec 2010 05:28:15 +0100 Subject: GDI: Add GetObjectType(..) --- make/stub_includes/win32/wingdi.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'make/stub_includes/win32/wingdi.h') 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); -- cgit v1.2.3