mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
|
@ -0,0 +1,29 @@
|
|||
#include <stdio.h>
|
||||
/* SDK/DDK/NDK Headers. */
|
||||
#include <windows.h>
|
||||
#include <wingdi.h>
|
||||
#include <winddi.h>
|
||||
#include <d3dnthal.h>
|
||||
#include <dll/directx/d3d8thk.h>
|
||||
#include "test.h"
|
||||
|
||||
/*
|
||||
* Test see if we can delete a DirectDrawObject from win32k
|
||||
*
|
||||
*/
|
||||
void
|
||||
test_NtGdiDdDeleteDirectDrawObject(HANDLE hDirectDrawLocal)
|
||||
{
|
||||
int fails=0;
|
||||
BOOL retValue=FALSE;
|
||||
printf("Start testing of NtGdiDdDeleteDirectDrawObject\n");
|
||||
|
||||
retValue = OsThunkDdDeleteDirectDrawObject(hDirectDrawLocal);
|
||||
testing_eq(retValue,FALSE,fails,"NtGdiDdDeleteDirectDrawObject(hDirectDrawLocal);\0");
|
||||
|
||||
retValue = OsThunkDdDeleteDirectDrawObject(NULL);
|
||||
testing_eq(retValue,TRUE,fails,"NtGdiDdDeleteDirectDrawObject(NULL);\0");
|
||||
|
||||
show_status(fails, "NtGdiDdDeleteDirectDrawObject\0");
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue