Fix msvc/gcc NDK problem
[reactos.git] / reactos / lib / rtl / rtlp.h
index 55d0742..e0d0708 100644 (file)
@@ -18,40 +18,40 @@ extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
 \r
 /* These provide support for sharing code between User and Kernel RTL */\r
 PVOID\r
-STDCALL\r
+NTAPI\r
 RtlpAllocateMemory(\r
     ULONG Bytes,\r
     ULONG Tag);\r
 \r
 VOID\r
-STDCALL\r
+NTAPI\r
 RtlpFreeMemory(\r
     PVOID Mem,\r
     ULONG Tag);\r
 \r
 KPROCESSOR_MODE\r
-STDCALL\r
+NTAPI\r
 RtlpGetMode(VOID);\r
 \r
 NTSTATUS\r
-STDCALL\r
+NTAPI\r
 RtlDeleteHeapLock(PRTL_CRITICAL_SECTION CriticalSection);\r
 \r
 NTSTATUS\r
-STDCALL\r
+NTAPI\r
 RtlEnterHeapLock(PRTL_CRITICAL_SECTION CriticalSection);\r
 \r
 NTSTATUS\r
-STDCALL\r
+NTAPI\r
 RtlInitializeHeapLock(PRTL_CRITICAL_SECTION CriticalSection);\r
 \r
 NTSTATUS\r
-STDCALL\r
+NTAPI\r
 RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection);\r
 \r
 BOOLEAN\r
 NTAPI\r
-RtlpCheckForActiveDebugger(VOID);\r
+RtlpCheckForActiveDebugger(BOOLEAN Type);\r
 \r
 BOOLEAN\r
 NTAPI\r
@@ -70,20 +70,20 @@ RtlpSetInDbgPrint(IN BOOLEAN NewValue);
 /* i386/except.S */\r
 \r
 EXCEPTION_DISPOSITION\r
-STDCALL\r
+NTAPI\r
 RtlpExecuteHandlerForException(PEXCEPTION_RECORD ExceptionRecord,\r
                                PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,\r
                                PCONTEXT Context,\r
                                PVOID DispatcherContext,\r
-                               PEXCEPTION_HANDLER ExceptionHandler);\r
+                               PEXCEPTION_ROUTINE ExceptionHandler);\r
 \r
 EXCEPTION_DISPOSITION\r
-STDCALL\r
+NTAPI\r
 RtlpExecuteHandlerForUnwind(PEXCEPTION_RECORD ExceptionRecord,\r
                             PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,\r
                             PCONTEXT Context,\r
                             PVOID DispatcherContext,\r
-                            PEXCEPTION_HANDLER ExceptionHandler);\r
+                            PEXCEPTION_ROUTINE ExceptionHandler);\r
 \r
 VOID\r
 NTAPI\r