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