mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
fa2f4d10ba
- 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;
|
|
}
|