Fix copy paste error in file header
[reactos.git] / rostests / apitests / gdi32api / tests / SetWorldTransform.c
1 INT
2 Test_SetWorldTransform(PTESTINFO pti)
3 {
4 PGDI_TABLE_ENTRY pEntry;
5 HDC hScreenDC, hDC;
6 DC_ATTR* pDC_Attr;
7
8 /* Create a DC */
9 hScreenDC = GetDC(NULL);
10 hDC = CreateCompatibleDC(hScreenDC);
11 ReleaseDC(NULL, hScreenDC);
12 SetGraphicsMode(hDC, GM_ADVANCED);
13
14 pEntry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hDC);
15 pDC_Attr = pEntry->UserData;
16
17 DeleteDC(hDC);
18
19 return APISTATUS_NORMAL;
20 }