mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
2b31cf640d
- remove header inclusion in test files svn path=/trunk/; revision=28753
24 lines
506 B
C
24 lines
506 B
C
INT
|
|
Test_GetClipRgn(PTESTINFO pti)
|
|
{
|
|
HWND hWnd;
|
|
HDC hDC;
|
|
HRGN hrgn;//, hrgn2;
|
|
|
|
/* Create a window */
|
|
hWnd = CreateWindowW(L"BUTTON", L"TestWindow", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
|
|
CW_USEDEFAULT, CW_USEDEFAULT, 100, 100,
|
|
NULL, NULL, g_hInstance, 0);
|
|
|
|
hDC = GetDC(hWnd);
|
|
hrgn = CreateRectRgn(0,0,0,0);
|
|
|
|
SetLastError(ERROR_SUCCESS);
|
|
// TEST(GetClipRgn(hDC)
|
|
|
|
ReleaseDC(hWnd, hDC);
|
|
DestroyWindow(hWnd);
|
|
|
|
return APISTATUS_NORMAL;
|
|
}
|
|
|