Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h

header. Fixes the compilation with the PSDK.
oldstable
Francois Gouget 2005-08-10 15:00:32 +00:00 committed by Alexandre Julliard
parent 88c2d837ab
commit 023bd5358a
1 changed files with 20 additions and 0 deletions

View File

@ -25,6 +25,26 @@
#include "ntdll_test.h"
#ifndef __WINE_WINTERNL_H
typedef struct _RTL_HANDLE
{
struct _RTL_HANDLE * Next;
} RTL_HANDLE;
typedef struct _RTL_HANDLE_TABLE
{
ULONG MaxHandleCount;
ULONG HandleSize;
ULONG Unused[2];
PVOID NextFree;
PVOID FirstHandle;
PVOID ReservedMemory;
PVOID MaxHandle;
} RTL_HANDLE_TABLE;
#endif
/* Function ptrs for ntdll calls */
static HMODULE hntdll = 0;
static SIZE_T (WINAPI *pRtlCompareMemory)(LPCVOID,LPCVOID,SIZE_T);