X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=include%2Fntdll%2Frtl.h;h=b42877ff3078fcd1857c42c3fd73363d87f6b886;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hp=97c0da25426e81389b012d3a846122c1b78ee4f3;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3;p=reactos.git diff --git a/include/ntdll/rtl.h b/include/ntdll/rtl.h index 97c0da2..b42877f 100644 --- a/include/ntdll/rtl.h +++ b/include/ntdll/rtl.h @@ -5,13 +5,18 @@ #ifndef __INCLUDE_NTDLL_RTL_H #define __INCLUDE_NTDLL_RTL_H +#include #include #include +#include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ + +#ifndef __USE_W32API + typedef struct _DEBUG_BUFFER { HANDLE SectionHandle; @@ -52,6 +57,9 @@ typedef struct _CRITICAL_SECTION { DWORD Reserved; } CRITICAL_SECTION, *PCRITICAL_SECTION, *LPCRITICAL_SECTION; +#endif /* !__USE_W32API */ + + typedef struct _RTL_PROCESS_INFO { ULONG Size; @@ -374,7 +382,7 @@ RtlDeNormalizeProcessParams ( IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters ); -VOID +NTSTATUS STDCALL RtlDestroyProcessParameters ( IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters @@ -569,6 +577,10 @@ RtlpNtSetValueKey ( ); #ifndef __NTDRIVER__ + +#ifndef __INTERLOCKED_DECLARED +#define __INTERLOCKED_DECLARED + LONG STDCALL InterlockedIncrement ( @@ -603,6 +615,7 @@ InterlockedExchangeAdd ( LONG Increment ); +#endif /* __INTERLOCKED_DECLARED */ #endif /* __NTDRIVER__ */