28 ok(bResult == bExp,
"line %ld: Wrong result, expected %d, got %d\n",
29 ulLine, bExp, bResult);
30 ok(
GetLastError() == dwErrExp,
"line %ld: Wrong error, expected %lx, got %lx\n",
34#define TEST_SET(hdc, x, y, ppt, bExp, dwErrExp) \
35 Test_Set(__LINE__, hdc, x, y, ppt, bExp, dwErrExp)
43 ok(
hdc != 0,
"could not ceate DC\n");
55 ptOldOrg.
x = 0; ptOldOrg.
y = 0;
void Test_SetBrushOrgEx()
void Test_Set(ULONG ulLine, HDC hdc, INT x, INT y, LPPOINT ppt, BOOL bExp, DWORD dwErrExp)
#define TEST_SET(hdc, x, y, ppt, bExp, dwErrExp)
#define ok_long(expression, result)
#define ERROR_INVALID_HANDLE
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
#define _SEH2_EXCEPT(...)
DWORD WINAPI GetLastError(void)
BOOL WINAPI SetBrushOrgEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)