A bit of W32API friendliness...
Modified: trunk/reactos/include/ntdll/ldr.h
Modified: trunk/reactos/include/ntdll/rtl.h
Modified: trunk/reactos/include/ntos/security.h
_____
Modified: trunk/reactos/include/ntdll/ldr.h
--- trunk/reactos/include/ntdll/ldr.h 2005-06-17 07:53:58 UTC (rev
15946)
+++ trunk/reactos/include/ntdll/ldr.h 2005-06-17 07:55:45 UTC (rev
15947)
@@ -5,13 +5,13 @@
#include <napi/teb.h>
#include <reactos/rossym.h>
-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__)
/*
_____
Modified: trunk/reactos/include/ntdll/rtl.h
--- trunk/reactos/include/ntdll/rtl.h 2005-06-17 07:53:58 UTC (rev
15946)
+++ trunk/reactos/include/ntdll/rtl.h 2005-06-17 07:55:45 UTC (rev
15947)
@@ -147,7 +147,7 @@
typedef struct _RTL_RESOURCE
{
- CRITICAL_SECTION Lock;
+ RTL_CRITICAL_SECTION Lock;
HANDLE SharedSemaphore;
ULONG SharedWaiters;
HANDLE ExclusiveSemaphore;
_____
Modified: trunk/reactos/include/ntos/security.h
--- trunk/reactos/include/ntos/security.h 2005-06-17 07:53:58 UTC
(rev 15946)
+++ trunk/reactos/include/ntos/security.h 2005-06-17 07:55:45 UTC
(rev 15947)
@@ -420,8 +420,13 @@
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
{
ACE_HEADER Header;
Show replies by date