mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- use NtDd api directly instead of using old syscall function.
- remove some old definitions - fix build to make Wax happy svn path=/trunk/; revision=28890
This commit is contained in:
parent
ccca2fc546
commit
35bf0957bc
4 changed files with 4 additions and 7 deletions
|
@ -13,7 +13,7 @@ Test_NtGdiDdCreateDirectDrawObject(PTESTINFO pti)
|
|||
|
||||
/* Cleanup ReactX setup */
|
||||
DeleteDC(hdc);
|
||||
Syscall(L"NtGdiDdDeleteDirectDrawObject", 1, &hDirectDraw);
|
||||
NtGdiDdDeleteDirectDrawObject(hDirectDraw);
|
||||
|
||||
return APISTATUS_NORMAL;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ Test_NtGdiEngCreatePalette(PTESTINFO pti)
|
|||
TEST(GDI_HANDLE_GET_TYPE(hPal) == GDI_OBJECT_TYPE_PALETTE);
|
||||
pEntry = &GdiHandleTable[GDI_HANDLE_GET_INDEX(hPal)];
|
||||
TEST(pEntry->KernelData != NULL);
|
||||
TEST(pEntry->ProcessId == (HANDLE)GetCurrentProcessId());
|
||||
TEST(pEntry->ProcessId == GetCurrentProcessId());
|
||||
TEST(pEntry->UserData == 0);
|
||||
TEST(pEntry->Type == (((UINT)hPal >> 16) | GDI_OBJECT_TYPE_PALETTE));
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
INT
|
||||
Test_NtGdiEnumFontOpen(PTESTINFO pti)
|
||||
{
|
||||
|
@ -17,7 +18,7 @@ Test_NtGdiEnumFontOpen(PTESTINFO pti)
|
|||
TEST(GDI_HANDLE_GET_TYPE(idEnum) == GDI_OBJECT_TYPE_ENUMFONT);
|
||||
pEntry = &GdiHandleTable[GDI_HANDLE_GET_INDEX(idEnum)];
|
||||
TEST(pEntry->KernelData != NULL);
|
||||
TEST(pEntry->ProcessId == (HANDLE)GetCurrentProcessId());
|
||||
TEST(pEntry->ProcessId == GetCurrentProcessId());
|
||||
TEST(pEntry->UserData == 0);
|
||||
TEST(pEntry->Type == ((idEnum >> 16) | GDI_OBJECT_TYPE_ENUMFONT));
|
||||
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
|
||||
#include "../apitest.h"
|
||||
|
||||
#define OS_UNSUPPORTED 0
|
||||
#define OS_REACTOS 1
|
||||
#define OS_WINDOWS 2
|
||||
|
||||
typedef struct
|
||||
{
|
||||
LPWSTR lpszFunction;
|
||||
|
|
Loading…
Reference in a new issue