From 7ccf07aecc208c941b8d245c3f158afcbc34184d Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 17 Jun 2005 07:55:45 +0000 Subject: [PATCH] A bit of W32API friendliness... svn path=/trunk/; revision=15947 --- reactos/include/ntdll/ldr.h | 10 +++++----- reactos/include/ntdll/rtl.h | 2 +- reactos/include/ntos/security.h | 7 ++++++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/reactos/include/ntdll/ldr.h b/reactos/include/ntdll/ldr.h index 05d2de392c2..25b85357572 100644 --- a/reactos/include/ntdll/ldr.h +++ b/reactos/include/ntdll/ldr.h @@ -5,13 +5,13 @@ #include #include -typedef NTSTATUS STDCALL_FUNC (*PEPFUNC)(PPEB); +typedef NTSTATUS (STDCALL *PEPFUNC)(PPEB); /* Type for a DLL's entry point */ -typedef BOOL STDCALL_FUNC -(* PDLLMAIN_FUNC)(HANDLE hInst, - ULONG ul_reason_for_call, - LPVOID lpReserved); +typedef BOOL +(STDCALL *PDLLMAIN_FUNC)(HANDLE hInst, + ULONG ul_reason_for_call, + LPVOID lpReserved); #if defined(__USE_W32API) || defined(__NTDLL__) /* diff --git a/reactos/include/ntdll/rtl.h b/reactos/include/ntdll/rtl.h index c9967143c64..8ada7776e04 100644 --- a/reactos/include/ntdll/rtl.h +++ b/reactos/include/ntdll/rtl.h @@ -147,7 +147,7 @@ typedef struct _RTL_PROCESS_INFO typedef struct _RTL_RESOURCE { - CRITICAL_SECTION Lock; + RTL_CRITICAL_SECTION Lock; HANDLE SharedSemaphore; ULONG SharedWaiters; HANDLE ExclusiveSemaphore; diff --git a/reactos/include/ntos/security.h b/reactos/include/ntos/security.h index b9dad2a474b..9584b1dbeb5 100644 --- a/reactos/include/ntos/security.h +++ b/reactos/include/ntos/security.h @@ -420,7 +420,12 @@ typedef struct _SECURITY_ATTRIBUTES BOOL bInheritHandle; } 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 {