mirror of
https://github.com/reactos/reactos.git
synced 2024-09-03 17:19:20 +00:00
![Timo Kreuzer](/assets/img/avatar_default.png)
- more tests for CreateCompatibleDC, GetClipRgn, SelectObject and SetDCPenColor svn path=/trunk/; revision=32746
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;
|
|
}
|