2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for SetWorldTransform
5 * PROGRAMMERS: Timo Kreuzer
12 void Test_SetWorldTransform()
17 //PGDI_TABLE_ENTRY pEntry;
21 hdcScreen
= GetDC(NULL
);
22 hdc
= CreateCompatibleDC(hdcScreen
);
23 ReleaseDC(NULL
, hdcScreen
);
24 SetGraphicsMode(hdc
, GM_ADVANCED
);
26 /* Set identity transform */
33 result
= SetWorldTransform(hdc
, &xform
);
34 ok(result
== 1, "\n");
36 /* Something invalid */
38 result
= SetWorldTransform(hdc
, &xform
);
39 ok(result
== 0, "\n");
41 //pEntry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hdc);
42 //pdcattr = pEntry->UserData;
47 START_TEST(SetWorldTransform
)
49 Test_SetWorldTransform();