ReactOS  0.4.15-dev-309-g7c8d563
NtGdiDdDeleteDirectDrawObject.c File Reference
#include <stdio.h>
#include <windows.h>
#include <wingdi.h>
#include <winddi.h>
#include <d3dnthal.h>
#include <dll/directx/d3d8thk.h>
#include "test.h"
Include dependency graph for NtGdiDdDeleteDirectDrawObject.c:

Go to the source code of this file.

Functions

void test_NtGdiDdDeleteDirectDrawObject (HANDLE hDirectDrawLocal)
 

Function Documentation

◆ test_NtGdiDdDeleteDirectDrawObject()

void test_NtGdiDdDeleteDirectDrawObject ( HANDLE  hDirectDrawLocal)

Definition at line 15 of file NtGdiDdDeleteDirectDrawObject.c.

16 {
17  int fails=0;
18  BOOL retValue=FALSE;
19  printf("Start testing of NtGdiDdDeleteDirectDrawObject\n");
20 
21  retValue = OsThunkDdDeleteDirectDrawObject(hDirectDrawLocal);
22  testing_eq(retValue,FALSE,fails,"NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal);\0");
23 
25  testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
26 
27  show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
28 }
#define TRUE
Definition: types.h:120
BOOL WINAPI OsThunkDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
#define show_status(counter, text)
Definition: test.h:40
#define testing_eq(input, value, counter, text)
Definition: test.h:24
#define printf
Definition: config.h:203

Referenced by main().