From 58f27e918cb307e34b98f08a510dfb01a4441546 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Tue, 21 Jun 2005 02:11:45 +0000 Subject: [PATCH] Add uncleaned start of internal ntdll header svn path=/trunk/; revision=16200 --- reactos/lib/ntdll/inc/ntdllp.h | 78 ++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 reactos/lib/ntdll/inc/ntdllp.h diff --git a/reactos/lib/ntdll/inc/ntdllp.h b/reactos/lib/ntdll/inc/ntdllp.h new file mode 100644 index 00000000000..ff56fcc5be9 --- /dev/null +++ b/reactos/lib/ntdll/inc/ntdllp.h @@ -0,0 +1,78 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS System Libraries + * FILE: lib/ntdll/inc/ntdllp.h + * PURPOSE: Native Libary Internal Header + * PROGRAMMER: Alex Ionescu (alex@relsoft.net) + */ + +/* INCLUDES ******************************************************************/ + +/* FIXME: Cleanup this mess */ +//typedef NTSTATUS (STDCALL *PEPFUNC)(PPEB); +NTSTATUS LdrMapSections(HANDLE ProcessHandle, + PVOID ImageBase, + HANDLE SectionHandle, + PIMAGE_NT_HEADERS NTHeaders); +NTSTATUS LdrMapNTDllForProcess(HANDLE ProcessHandle, + PHANDLE NTDllSectionHandle); +BOOLEAN LdrMappedAsDataFile(PVOID *BaseAddress); +ULONG +LdrpGetResidentSize(PIMAGE_NT_HEADERS NTHeaders); +PEPFUNC LdrPEStartup (PVOID ImageBase, + HANDLE SectionHandle, + PLDR_MODULE* Module, + PWSTR FullDosName); +#if 0 +typedef BOOL +(STDCALL *PDLLMAIN_FUNC)(HANDLE hInst, + ULONG ul_reason_for_call, + LPVOID lpReserved); +#endif +VOID +STDCALL +RtlpInitDeferedCriticalSection( + VOID +); +#if defined(KDBG) || defined(DBG) +VOID +LdrpLoadUserModuleSymbols(PLDR_MODULE LdrModule); +#endif +extern HANDLE WindowsApiPort; + +NTSTATUS +STDCALL +RtlpWaitForCriticalSection( + PRTL_CRITICAL_SECTION CriticalSection +); + +VOID +STDCALL +RtlpUnWaitCriticalSection( + PRTL_CRITICAL_SECTION CriticalSection +); + +VOID +STDCALL +RtlpCreateCriticalSectionSem( + PRTL_CRITICAL_SECTION CriticalSection +); + +VOID +STDCALL +RtlpInitDeferedCriticalSection( + VOID +); + +VOID +STDCALL +RtlpFreeDebugInfo( + PRTL_CRITICAL_SECTION_DEBUG DebugInfo +); + +PRTL_CRITICAL_SECTION_DEBUG +STDCALL +RtlpAllocateDebugInfo( + VOID +); +/* EOF */