mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 10:05:35 +00:00
Add uncleaned start of internal ntdll header
svn path=/trunk/; revision=16200
This commit is contained in:
parent
3b2016d0ac
commit
58f27e918c
1 changed files with 78 additions and 0 deletions
78
reactos/lib/ntdll/inc/ntdllp.h
Normal file
78
reactos/lib/ntdll/inc/ntdllp.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue