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