mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
21 lines
391 B
C
21 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;
|
||
|
}
|