fe0f43a93ef102a0a0abbab9bc9740e50de2c46c
2 /* SDK/DDK/NDK Headers. */
7 #include <dll/directx/d3d8thk.h>
12 * Test see if we getting a DirectDrawObject from win32k
16 test_NtGdiDdCreateDirectDrawObject()
20 HDC hdc
=CreateDCW(L
"Display",NULL
,NULL
,NULL
);
22 printf("Start testing of NtGdiDdCreateDirectDrawObject\n");
24 retValue
= OsThunkDdCreateDirectDrawObject(NULL
);
25 testing_noteq(retValue
,NULL
,fails
,"NtGdiDdCreateDirectDrawObject(NULL);\0");
27 retValue
= OsThunkDdCreateDirectDrawObject(hdc
);
28 testing_eq(retValue
,NULL
,fails
,"NtGdiDdCreateDirectDrawObject(hdc);\0");
30 show_status(fails
, "NtGdiDdCreateDirectDrawObject\0");