ReactOS 0.4.15-dev-6662-g1b3eed5
|
Go to the source code of this file.
Typedefs | |
typedef VOID(NTAPI * | PELDR_IMPORTDLL_LOAD_CALLBACK) (_In_ PCSTR FileName) |
Functions | |
BOOLEAN | PeLdrLoadImage (_In_ PCSTR FilePath, _In_ TYPE_OF_MEMORY MemoryType, _Out_ PVOID *ImageBasePA) |
Loads the specified image from the file. | |
BOOLEAN | PeLdrAllocateDataTableEntry (IN OUT PLIST_ENTRY ModuleListHead, IN PCCH BaseDllName, IN PCCH FullDllName, IN PVOID BasePA, OUT PLDR_DATA_TABLE_ENTRY *NewEntry) |
VOID | PeLdrFreeDataTableEntry (_In_ PLDR_DATA_TABLE_ENTRY Entry) |
BOOLEAN | PeLdrScanImportDescriptorTable (IN OUT PLIST_ENTRY ModuleListHead, IN PCCH DirectoryPath, IN PLDR_DATA_TABLE_ENTRY ScanDTE) |
BOOLEAN | PeLdrCheckForLoadedDll (IN OUT PLIST_ENTRY ModuleListHead, IN PCH DllName, OUT PLDR_DATA_TABLE_ENTRY *LoadedEntry) |
Variables | |
PELDR_IMPORTDLL_LOAD_CALLBACK | PeLdrImportDllLoadCallback |
Definition at line 23 of file peloader.h.
BOOLEAN PeLdrAllocateDataTableEntry | ( | IN OUT PLIST_ENTRY | ModuleListHead, |
IN PCCH | BaseDllName, | ||
IN PCCH | FullDllName, | ||
IN PVOID | BasePA, | ||
OUT PLDR_DATA_TABLE_ENTRY * | NewEntry | ||
) |
Definition at line 598 of file peloader.c.
Referenced by LoadBootDeviceDriver(), LoadModule(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
BOOLEAN PeLdrCheckForLoadedDll | ( | IN OUT PLIST_ENTRY | ModuleListHead, |
IN PCH | DllName, | ||
OUT PLDR_DATA_TABLE_ENTRY * | LoadedEntry | ||
) |
Definition at line 478 of file peloader.c.
Referenced by PeLdrpBindImportName(), PeLdrScanImportDescriptorTable(), and WinLdrLoadDeviceDriver().
VOID PeLdrFreeDataTableEntry | ( | _In_ PLDR_DATA_TABLE_ENTRY | Entry | ) |
Definition at line 715 of file peloader.c.
Referenced by LoadBootDeviceDriver(), LoadWindowsCore(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
BOOLEAN PeLdrLoadImage | ( | _In_ PCSTR | FilePath, |
_In_ TYPE_OF_MEMORY | MemoryType, | ||
_Out_ PVOID * | ImageBasePA | ||
) |
Loads the specified image from the file.
PeLdrLoadImage doesn't perform any additional operations on the file path, it just directly calls the file I/O routines. It then relocates the image so that it's ready to be used when paging is enabled.
Definition at line 740 of file peloader.c.
Referenced by LoadBootDeviceDriver(), LoadModule(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
BOOLEAN PeLdrScanImportDescriptorTable | ( | IN OUT PLIST_ENTRY | ModuleListHead, |
IN PCCH | DirectoryPath, | ||
IN PLDR_DATA_TABLE_ENTRY | ScanDTE | ||
) |
Definition at line 522 of file peloader.c.
Referenced by LoadBootDeviceDriver(), LoadWindowsCore(), PeLdrpLoadAndScanReferencedDll(), and WinLdrLoadDeviceDriver().
|
extern |
Definition at line 28 of file peloader.c.
Referenced by LoadAndBootWindowsCommon(), and PeLdrpLoadAndScanReferencedDll().