#include <stdio.h>
#include <windows.h>
#include <wingdi.h>
#include <winddi.h>
#include <d3dnthal.h>
#include <dll/directx/d3d8thk.h>
#include "test.h"
Go to the source code of this file.
◆ test_NtGdiDdCreateDirectDrawObject()
HANDLE test_NtGdiDdCreateDirectDrawObject |
( |
void |
| ) |
|
Definition at line 16 of file NtGdiDdCreateDirectDrawObject.c.
17{
19 int fails=0;
21
23 {
24 printf(
"No hdc was created with Display, trying now with DISPLAY\n");
27 {
28 printf(
"No hdc was created with DISPLAY, trying now with NULL\n");
30 }
31 }
32
34 {
35 printf(
"No hdc was created at all perpare all test will fail\n");
37 }
38
39 printf(
"Start testing of NtGdiDdCreateDirectDrawObject\n");
40
43
45 testing_eq(retValue,
NULL,fails,
"NtGdiDdCreateDirectDrawObject(hdc);\0");
46
47 show_status(fails,
"NtGdiDdCreateDirectDrawObject\0");
48
49 return retValue;
50}
HANDLE WINAPI OsThunkDdCreateDirectDrawObject(HDC hdc)
#define testing_eq(input, value, counter, text)
#define show_status(counter, text)
#define testing_noteq(input, value, counter, text)
HDC WINAPI CreateDCW(_In_opt_ LPCWSTR pszDriver, _In_opt_ LPCWSTR pszDevice, _In_opt_ LPCWSTR psz, _In_opt_ const DEVMODEW *pdmInit)
Referenced by main().