mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

- more tests for CreateCompatibleDC, GetClipRgn, SelectObject and SetDCPenColor svn path=/trunk/; revision=32746
20 lines
391 B
C
20 lines
391 B
C
INT
|
|
Test_SetWorldTransform(PTESTINFO pti)
|
|
{
|
|
PGDI_TABLE_ENTRY pEntry;
|
|
HDC hScreenDC, hDC;
|
|
DC_ATTR* pDC_Attr;
|
|
|
|
/* Create a DC */
|
|
hScreenDC = GetDC(NULL);
|
|
hDC = CreateCompatibleDC(hScreenDC);
|
|
ReleaseDC(NULL, hScreenDC);
|
|
SetGraphicsMode(hDC, GM_ADVANCED);
|
|
|
|
pEntry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hDC);
|
|
pDC_Attr = pEntry->UserData;
|
|
|
|
DeleteDC(hDC);
|
|
|
|
return APISTATUS_NORMAL;
|
|
}
|