mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:15:52 +00:00
parent
e7846c0c67
commit
62f6e3b397
42 changed files with 2715 additions and 2715 deletions
|
@ -9,16 +9,16 @@
|
|||
|
||||
START_TEST(NtGdiDdDeleteDirectDrawObject)
|
||||
{
|
||||
HANDLE hDirectDraw;
|
||||
HDC hdc = CreateDCW(L"DISPLAY",NULL,NULL,NULL);
|
||||
ok(hdc != NULL, "\n");
|
||||
HANDLE hDirectDraw;
|
||||
HDC hdc = CreateDCW(L"DISPLAY",NULL,NULL,NULL);
|
||||
ok(hdc != NULL, "\n");
|
||||
|
||||
/* Test ReactX */
|
||||
ok(NtGdiDdDeleteDirectDrawObject(NULL) == FALSE, "\n");
|
||||
ok((hDirectDraw=NtGdiDdCreateDirectDrawObject(hdc)) != NULL, "\n");
|
||||
ok(NtGdiDdDeleteDirectDrawObject(hDirectDraw) == TRUE, "\n");
|
||||
/* Test ReactX */
|
||||
ok(NtGdiDdDeleteDirectDrawObject(NULL) == FALSE, "\n");
|
||||
ok((hDirectDraw=NtGdiDdCreateDirectDrawObject(hdc)) != NULL, "\n");
|
||||
ok(NtGdiDdDeleteDirectDrawObject(hDirectDraw) == TRUE, "\n");
|
||||
|
||||
/* Cleanup ReactX setup */
|
||||
DeleteDC(hdc);
|
||||
NtGdiDdDeleteDirectDrawObject(hDirectDraw);
|
||||
/* Cleanup ReactX setup */
|
||||
DeleteDC(hdc);
|
||||
NtGdiDdDeleteDirectDrawObject(hDirectDraw);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue