12 #define INVALID_POINTER ((PVOID)(ULONG_PTR)0xdeadbeefdeadbeefULL) 15 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
16 0,0,0,0,0,0,255,0,0,0,0,0,0,0,0,0,
17 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
18 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
19 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
20 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
21 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
22 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
24 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
25 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
26 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
27 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
28 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
29 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
30 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
31 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
173 ok(
ret == -1,
"should have got an exception\n");
182 ok(hBrush !=
NULL,
"Failed to create brush\n");
214 BYTE bData[100] = {0};
215 BYTE Buffer[100] = {48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,0};
219 ok(
hBitmap != 0,
"CreateBitmap failed, skipping tests.\n");
253 BITMAPINFO bmi = {{
sizeof(
BITMAPINFOHEADER), 10, 9, 1, 16,
BI_RGB, 0, 10, 10, 0,0}};
303 logpal.palPalEntry[0].peRed = 0;
304 logpal.palPalEntry[0].peGreen = 0;
305 logpal.palPalEntry[0].peBlue = 0;
308 ok(hPalette != 0,
"CreatePalette failed, skipping tests.\n");
309 if (!hPalette)
return;
341 ok(hBrush != 0,
"CreateSolidBrush failed, skipping tests.\n");
353 ok(logbrush.
lbStyle == 0x77777777,
"\n");
356 ok(logbrush.
lbColor == 0x77777701,
"\n");
374 "GetObject(0x%p, ...) failed.\n", hBrush);
380 "GetObject(0x%p, ...) failed.\n", hBrush);
383 "GetObject(0x%p, ...) failed.\n", hBrush);
397 {
sizeof(
BITMAPINFOHEADER), 4, 4, 1, 8,
BI_RGB, 0, 1, 1, 4, 0},
399 {0,1,2,3, 1,2,3,0, 2,3,0,1, 3,0,1,2},
406 ok(hBrush != 0,
"CreateSolidBrush failed, skipping tests.\n");
423 ok(hBrush != 0,
"CreateSolidBrush failed, skipping tests.\n");
447 ok(hPen != 0,
"CreatePen failed, skipping tests.\n");
478 DWORD dwStyles[17] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
548 for (
i = 0;
i <= 15;
i++)
549 ok(((
EXTLOGPEN*)&elpUserStyle)->elpStyleEntry[
i] ==
i,
"%d\n",
i);
601 ok(
u.logfonta.lfHeight == 0x77777777,
"\n");
604 ok(
u.logfonta.lfHeight == 8,
"\n");
605 ok(
u.logfonta.lfWidth == 0x77777708,
"\n");
635 ok(
u.logfontw.lfHeight == 0x77777777,
"\n");
638 ok(
u.logfontw.lfHeight == 8,
"\n");
639 ok(
u.logfontw.lfWidth == 0x77777708,
"\n");
642 ok(
u.logfonta.lfHeight == 8,
"\n");
701 ok(hMetaDC != 0,
"CreateMetaFile failed, skipping tests.\n");
734 ok(
bmp.bmWidth == (
bmp.bmHeight / 2),
"ERR UNICODE CursorIcon RECT got %ldx%ld\n",
bmp.bmWidth,
bmp.bmHeight);
735 ok(
bmp.bmHeight == 64,
"ERR UNICODE CursorIcon Height got %ld\n",
bmp.bmHeight);
741 ok(CursorInfo.
flags != 0,
"Mouse cursor is hidden\n");
743 ok(
bmp.bmWidth ==
bmp.bmHeight / 2,
"ERR CursorIcon RECT got %ldx%ld\n",
bmp.bmWidth,
bmp.bmHeight);
744 ok(
bmp.bmHeight == 64,
"ERR CursorIcon Height got %ld\n",
bmp.bmHeight);
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
HGDIOBJ WINAPI GetStockObject(_In_ int)
int WINAPI GetObjectA(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
#define ERROR_INVALID_PARAMETER
#define GDI_HANDLE_GET_INDEX(h)
struct tagENUMLOGFONTEXW ENUMLOGFONTEXW
void Test_Dibsection(void)
#define ANTIALIASED_QUALITY
HPEN WINAPI CreatePen(_In_ int, _In_ int, _In_ COLORREF)
HDC WINAPI GetDC(_In_opt_ HWND)
#define GDI_OBJECT_TYPE_ENHMETAFILE
void Test_Colorspace(void)
struct tagBITMAPINFOHEADER BITMAPINFOHEADER
#define ERROR_INVALID_HANDLE
struct tagCURSORINFO CURSORINFO
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
#define GDI_OBJECT_TYPE_REGION
#define OUT_CHARACTER_PRECIS
#define ok_long(expression, result)
#define GDI_OBJECT_TYPE_EXTPEN
#define GDI_OBJECT_TYPE_COLORSPACE
#define GDI_OBJECT_TYPE_BRUSH
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define CLIP_CHARACTER_PRECIS
#define GDI_OBJECT_TYPE_PALETTE
BOOL WINAPI GetCursorInfo(_Inout_ PCURSORINFO)
#define GDI_HANDLE_GET_TYPE(h)
HRGN WINAPI CreateRectRgn(_In_ int, _In_ int, _In_ int, _In_ int)
#define GDI_OBJECT_TYPE_PEN
#define EXCEPTION_EXECUTE_HANDLER
HPALETTE WINAPI CreatePalette(_In_reads_(_Inexpressible_(2 *sizeof(WORD)+plpal->palNumEntries *sizeof(PALETTEENTRY))) const LOGPALETTE *)
#define FillMemory(BUF, SIZ, MASK)
unsigned __int3264 UINT_PTR
#define GDI_OBJECT_TYPE_METADC
#define GDI_OBJECT_TYPE_DC
#define GDI_OBJECT_TYPE_METAFILE
#define GDI_OBJECT_TYPE_BITMAP
HFONT WINAPI CreateFontA(_In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_ DWORD, _In_opt_ LPCSTR)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define GDI_OBJECT_TYPE_EMF
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
HPEN WINAPI ExtCreatePen(_In_ DWORD iPenStyle, _In_ DWORD cWidth, _In_ const LOGBRUSH *plbrush, _In_ DWORD cStyle, _In_reads_opt_(cStyle) const DWORD *pstyle)
#define _SEH2_EXCEPT(...)
#define GDI_HANDLE_TYPE_MASK
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
HBRUSH WINAPI CreateDIBPatternBrushPt(_In_ const VOID *pvPackedDIB, _In_ UINT uUsage)
#define GDI_OBJECT_TYPE_FONT
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
#define ERROR_INSUFFICIENT_BUFFER