2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for SetWorldTransform
5 * PROGRAMMERS: Timo Kreuzer
13 void Test_SetWorldTransform()
18 //PGDI_TABLE_ENTRY pEntry;
22 hdcScreen
= GetDC(NULL
);
23 hdc
= CreateCompatibleDC(hdcScreen
);
24 ReleaseDC(NULL
, hdcScreen
);
25 SetGraphicsMode(hdc
, GM_ADVANCED
);
27 /* Set identity transform */
34 result
= SetWorldTransform(hdc
, &xform
);
35 ok(result
== 1, "\n");
37 /* Something invalid */
39 result
= SetWorldTransform(hdc
, &xform
);
40 ok(result
== 0, "\n");
42 //pEntry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hdc);
43 //pdcattr = pEntry->UserData;
48 START_TEST(SetWorldTransform
)
50 Test_SetWorldTransform();