mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
58c6a293bc
- add a gdi32 api test, based on the one in the win32 folder - add a user32 api test - change type of test functions to int - implement a quick 'n dirty html api status output - uncomment NtGdiTransormPoints in w32kdll.def - add ASSERT1 macro (ASSERT is already used) - include some more headers svn path=/trunk/; revision=28169
27 lines
481 B
C
27 lines
481 B
C
#include "../w32knapi.h"
|
|
|
|
W32KAPI
|
|
HANDLE
|
|
APIENTRY
|
|
NtGdiDdCreateDirectDrawObject(
|
|
IN HDC hdc
|
|
)
|
|
{
|
|
return (HANDLE)Syscall(L"NtGdiDdCreateDirectDrawObject", 1, &hdc);
|
|
}
|
|
|
|
INT
|
|
Test_NtGdiDdCreateDirectDrawObject(PTESTINFO pti)
|
|
{
|
|
HDC hdc = CreateDCW(L"Display",NULL,NULL,NULL);
|
|
ASSERT1(hdc != NULL);
|
|
|
|
RTEST(NtGdiDdCreateDirectDrawObject(NULL) == NULL);
|
|
|
|
TEST(NtGdiDdCreateDirectDrawObject(hdc) != NULL);
|
|
|
|
DeleteDC(hdc);
|
|
|
|
return APISTATUS_NORMAL;
|
|
}
|