2 * PROJECT: ReactOS api tests
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Test for NtGdiDdCreateDirectDrawObject
10 START_TEST(NtGdiDdCreateDirectDrawObject
)
13 HDC hdc
= CreateDCW(L
"DISPLAY", NULL
, NULL
, NULL
);
14 ok(hdc
!= NULL
, "\n");
17 ok(NtGdiDdCreateDirectDrawObject(NULL
) == NULL
, "\n");
18 ok((hDirectDraw
= NtGdiDdCreateDirectDrawObject(hdc
)) != NULL
, "\n");
20 /* Cleanup ReactX setup */
22 NtGdiDdDeleteDirectDrawObject(hDirectDraw
);