mirror of
https://github.com/reactos/reactos.git
synced 2024-10-24 23:11:33 +00:00
35bf0957bc
- remove some old definitions - fix build to make Wax happy svn path=/trunk/; revision=28890
20 lines
452 B
C
20 lines
452 B
C
#include "../w32knapi.h"
|
|
|
|
INT
|
|
Test_NtGdiDdCreateDirectDrawObject(PTESTINFO pti)
|
|
{
|
|
HANDLE hDirectDraw;
|
|
HDC hdc = CreateDCW(L"DISPLAY",NULL,NULL,NULL);
|
|
ASSERT(hdc != NULL);
|
|
|
|
/* Test ReactX */
|
|
RTEST(NtGdiDdCreateDirectDrawObject(NULL) == NULL);
|
|
RTEST((hDirectDraw=NtGdiDdCreateDirectDrawObject(hdc)) != NULL);
|
|
|
|
/* Cleanup ReactX setup */
|
|
DeleteDC(hdc);
|
|
NtGdiDdDeleteDirectDrawObject(hDirectDraw);
|
|
|
|
return APISTATUS_NORMAL;
|
|
}
|