X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Flib%2Frtl%2Frtlp.h;h=e0d0708d377c16438c42c80563eab0c789dc7f51;hp=5552f94d69765129fb39587c57917084620ef3f2;hb=348e9f5f3db24a43e5e407e37866908d94d9ca37;hpb=b9020b11dde3907355096dd60b453e330f47dc9b diff --git a/reactos/lib/rtl/rtlp.h b/reactos/lib/rtl/rtlp.h index 5552f94d697..e0d0708d377 100644 --- a/reactos/lib/rtl/rtlp.h +++ b/reactos/lib/rtl/rtlp.h @@ -18,40 +18,40 @@ extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line); /* These provide support for sharing code between User and Kernel RTL */ PVOID -STDCALL +NTAPI RtlpAllocateMemory( ULONG Bytes, ULONG Tag); VOID -STDCALL +NTAPI RtlpFreeMemory( PVOID Mem, ULONG Tag); KPROCESSOR_MODE -STDCALL +NTAPI RtlpGetMode(VOID); NTSTATUS -STDCALL +NTAPI RtlDeleteHeapLock(PRTL_CRITICAL_SECTION CriticalSection); NTSTATUS -STDCALL +NTAPI RtlEnterHeapLock(PRTL_CRITICAL_SECTION CriticalSection); NTSTATUS -STDCALL +NTAPI RtlInitializeHeapLock(PRTL_CRITICAL_SECTION CriticalSection); NTSTATUS -STDCALL +NTAPI RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection); BOOLEAN NTAPI -RtlpCheckForActiveDebugger(VOID); +RtlpCheckForActiveDebugger(BOOLEAN Type); BOOLEAN NTAPI @@ -63,23 +63,27 @@ RtlpHandleDpcStackException(IN PEXCEPTION_REGISTRATION_RECORD RegistrationFrame, #define RtlpAllocateStringMemory RtlpAllocateMemory #define RtlpFreeStringMemory RtlpFreeMemory +BOOLEAN +NTAPI +RtlpSetInDbgPrint(IN BOOLEAN NewValue); + /* i386/except.S */ EXCEPTION_DISPOSITION -STDCALL +NTAPI RtlpExecuteHandlerForException(PEXCEPTION_RECORD ExceptionRecord, PEXCEPTION_REGISTRATION_RECORD RegistrationFrame, PCONTEXT Context, PVOID DispatcherContext, - PEXCEPTION_HANDLER ExceptionHandler); + PEXCEPTION_ROUTINE ExceptionHandler); EXCEPTION_DISPOSITION -STDCALL +NTAPI RtlpExecuteHandlerForUnwind(PEXCEPTION_RECORD ExceptionRecord, PEXCEPTION_REGISTRATION_RECORD RegistrationFrame, PCONTEXT Context, PVOID DispatcherContext, - PEXCEPTION_HANDLER ExceptionHandler); + PEXCEPTION_ROUTINE ExceptionHandler); VOID NTAPI @@ -96,6 +100,15 @@ VOID NTAPI RtlpCaptureContext(OUT PCONTEXT ContextRecord); +/* i386/debug.S */ +NTSTATUS +NTAPI +DebugService(IN ULONG Service, + IN PVOID Buffer, + IN ULONG Length, + IN PVOID Argument1, + IN PVOID Argument2); + /* Tags for the String Allocators */ #define TAG_USTR TAG('U', 'S', 'T', 'R') #define TAG_ASTR TAG('A', 'S', 'T', 'R')