mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
A bit of W32API friendliness...
svn path=/trunk/; revision=15947
This commit is contained in:
parent
81405a8541
commit
7ccf07aecc
3 changed files with 12 additions and 7 deletions
|
@ -5,13 +5,13 @@
|
||||||
#include <napi/teb.h>
|
#include <napi/teb.h>
|
||||||
#include <reactos/rossym.h>
|
#include <reactos/rossym.h>
|
||||||
|
|
||||||
typedef NTSTATUS STDCALL_FUNC (*PEPFUNC)(PPEB);
|
typedef NTSTATUS (STDCALL *PEPFUNC)(PPEB);
|
||||||
|
|
||||||
/* Type for a DLL's entry point */
|
/* Type for a DLL's entry point */
|
||||||
typedef BOOL STDCALL_FUNC
|
typedef BOOL
|
||||||
(* PDLLMAIN_FUNC)(HANDLE hInst,
|
(STDCALL *PDLLMAIN_FUNC)(HANDLE hInst,
|
||||||
ULONG ul_reason_for_call,
|
ULONG ul_reason_for_call,
|
||||||
LPVOID lpReserved);
|
LPVOID lpReserved);
|
||||||
|
|
||||||
#if defined(__USE_W32API) || defined(__NTDLL__)
|
#if defined(__USE_W32API) || defined(__NTDLL__)
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -147,7 +147,7 @@ typedef struct _RTL_PROCESS_INFO
|
||||||
|
|
||||||
typedef struct _RTL_RESOURCE
|
typedef struct _RTL_RESOURCE
|
||||||
{
|
{
|
||||||
CRITICAL_SECTION Lock;
|
RTL_CRITICAL_SECTION Lock;
|
||||||
HANDLE SharedSemaphore;
|
HANDLE SharedSemaphore;
|
||||||
ULONG SharedWaiters;
|
ULONG SharedWaiters;
|
||||||
HANDLE ExclusiveSemaphore;
|
HANDLE ExclusiveSemaphore;
|
||||||
|
|
|
@ -420,7 +420,12 @@ typedef struct _SECURITY_ATTRIBUTES
|
||||||
BOOL bInheritHandle;
|
BOOL bInheritHandle;
|
||||||
} SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
} SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||||
|
|
||||||
#endif /* !__USE_W32API */
|
#else /* !__USE_W32API */
|
||||||
|
|
||||||
|
typedef struct _ACL_REVISION_INFORMATION *PACL_REVISION_INFORMATION;
|
||||||
|
typedef struct _ACL_SIZE_INFORMATION *PACL_SIZE_INFORMATION;
|
||||||
|
|
||||||
|
#endif /* __USE_W32API */
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue