ReactOS 0.4.15-dev-7924-g5949c20
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define NDEBUG |
Definition at line 14 of file ldrutils.c.
PLDR_DATA_TABLE_ENTRY NTAPI LdrpAllocateDataTableEntry | ( | IN PVOID | BaseAddress | ) |
Definition at line 1549 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
Definition at line 33 of file ldrutils.c.
Referenced by LdrpResolveFullName().
BOOLEAN NTAPI LdrpCallInitRoutine | ( | IN PDLL_INIT_ROUTINE | EntryPoint, |
IN PVOID | BaseAddress, | ||
IN ULONG | Reason, | ||
IN PVOID | Context | ||
) |
Definition at line 100 of file ldrutils.c.
Referenced by AVrfpLoadAndInitializeProvider(), LdrpCallTlsInitializers(), LdrpInitializeThread(), LdrpRunInitializeRoutines(), LdrpRunShimEngineInitRoutine(), LdrShutdownProcess(), LdrShutdownThread(), and LdrUnloadDll().
Definition at line 473 of file ldrutils.c.
Referenced by LdrpInitializeThread(), LdrpRunInitializeRoutines(), LdrShutdownProcess(), and LdrShutdownThread().
NTSTATUS NTAPI LdrpCheckForKnownDll | ( | PWSTR | DllName, |
PUNICODE_STRING | FullDllName, | ||
PUNICODE_STRING | BaseDllName, | ||
HANDLE * | SectionHandle | ||
) |
Definition at line 814 of file ldrutils.c.
Referenced by LdrpMapDll().
BOOLEAN NTAPI LdrpCheckForLoadedDll | ( | IN PWSTR | DllPath, |
IN PUNICODE_STRING | DllName, | ||
IN BOOLEAN | Flag, | ||
IN BOOLEAN | RedirectedDll, | ||
OUT PLDR_DATA_TABLE_ENTRY * | LdrEntry | ||
) |
Definition at line 1979 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), LdrpLoadDll(), LdrpLoadImportModule(), and LdrpUpdateLoadCount3().
Definition at line 1621 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrDisableThreadCalloutsForDll(), LdrpGetProcedureAddress(), LdrpSnapThunk(), and LdrUnloadDll().
Definition at line 2670 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrpRunInitializeRoutines().
Definition at line 535 of file ldrutils.c.
Referenced by LdrpCreateDllSection().
NTSTATUS NTAPI LdrpCreateDllSection | ( | IN PUNICODE_STRING | FullName, |
IN HANDLE | DllHandle, | ||
IN PULONG DllCharacteristics | OPTIONAL, | ||
OUT PHANDLE | SectionHandle | ||
) |
Definition at line 544 of file ldrutils.c.
Referenced by LdrpMapDll().
Definition at line 793 of file ldrutils.c.
Referenced by LdrpMapDll().
VOID NTAPI LdrpFinalizeAndDeallocateDataTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | Entry | ) |
Definition at line 1598 of file ldrutils.c.
Referenced by LdrUnloadDll().
VOID NTAPI LdrpFreeUnicodeString | ( | IN PUNICODE_STRING | StringIn | ) |
Definition at line 84 of file ldrutils.c.
Referenced by LdrpFinalizeAndDeallocateDataTableEntry(), LdrpMapDll(), LdrpResolveDllName(), and LdrpResolveFullName().
NTSTATUS NTAPI LdrpGetProcedureAddress | ( | _In_ PVOID | BaseAddress, |
_In_opt_ _When_(Ordinal==0, _Notnull_) PANSI_STRING | Name, | ||
_In_opt_ _When_(Name==NULL, _In_range_(>, 0)) ULONG | Ordinal, | ||
_Out_ PVOID * | ProcedureAddress, | ||
_In_ BOOLEAN | ExecuteInit | ||
) |
Definition at line 2252 of file ldrutils.c.
Referenced by AvrfpResolveThunks(), LdrGetProcedureAddress(), LdrpGetShimEngineFunction(), and LdrpSnapThunk().
Definition at line 2705 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface().
Definition at line 2718 of file ldrutils.c.
Referenced by LdrInitShimEngineDynamic(), and LdrpLoadShimEngine().
VOID NTAPI LdrpInsertMemoryTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 1582 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
NTSTATUS NTAPI LdrpLoadDll | ( | IN BOOLEAN | Redirected, |
IN PWSTR DllPath | OPTIONAL, | ||
IN PULONG DllCharacteristics | OPTIONAL, | ||
IN PUNICODE_STRING | DllName, | ||
OUT PVOID * | BaseAddress, | ||
IN BOOLEAN | CallInit | ||
) |
Definition at line 2435 of file ldrutils.c.
Referenced by LdrLoadDll(), LdrpLoadShimEngine(), and LdrpSnapThunk().
VOID NTAPI LdrpLoadShimEngine | ( | IN PWSTR | ImageName, |
IN PUNICODE_STRING | ProcessImage, | ||
IN PVOID | pShimData | ||
) |
Definition at line 2778 of file ldrutils.c.
Referenced by LdrpInitializeProcess().
NTSTATUS NTAPI LdrpMapDll | ( | IN PWSTR SearchPath | OPTIONAL, |
IN PWSTR | DllPath2, | ||
IN PWSTR DllName | OPTIONAL, | ||
IN PULONG | DllCharacteristics, | ||
IN BOOLEAN | Static, | ||
IN BOOLEAN | Redirect, | ||
OUT PLDR_DATA_TABLE_ENTRY * | DataTableEntry | ||
) |
Definition at line 1023 of file ldrutils.c.
Referenced by LdrpLoadDll(), and LdrpLoadImportModule().
BOOLEAN NTAPI LdrpResolveDllName | ( | PWSTR | DllPath, |
PWSTR | DllName, | ||
PUNICODE_STRING | FullDllName, | ||
PUNICODE_STRING | BaseDllName | ||
) |
Definition at line 699 of file ldrutils.c.
Referenced by LdrpMapDll().
NTSTATUS NTAPI LdrpResolveFullName | ( | IN PUNICODE_STRING | OriginalName, |
IN PUNICODE_STRING | PathName, | ||
IN PUNICODE_STRING | FullPathName, | ||
IN PUNICODE_STRING * | ExpandedName | ||
) |
Definition at line 1667 of file ldrutils.c.
Referenced by LdrpSearchPath().
Definition at line 2743 of file ldrutils.c.
Referenced by LdrpLoadShimEngine(), and LdrpUnloadShimEngine().
NTSTATUS NTAPI LdrpSearchPath | ( | IN PWCHAR * | SearchPath, |
IN PWCHAR | DllName, | ||
IN PUNICODE_STRING | PathName, | ||
IN PUNICODE_STRING | FullPathName, | ||
IN PUNICODE_STRING * | ExpandedName | ||
) |
Definition at line 1783 of file ldrutils.c.
Definition at line 947 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
Definition at line 2803 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface().
Definition at line 460 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrUnloadDll().
VOID NTAPI LdrpUpdateLoadCount3 | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry, |
IN ULONG | Flags, | ||
OUT PUNICODE_STRING | UpdateString | ||
) |
Definition at line 112 of file ldrutils.c.
Referenced by LdrpUpdateLoadCount2(), and LdrpUpdateLoadCount3().
PVOID g_pfnSE_DllLoaded |
Definition at line 23 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpLoadDll().
PVOID g_pfnSE_DllUnloaded |
Definition at line 24 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrUnloadDll().
PVOID g_pfnSE_InstallAfterInit |
Definition at line 26 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpInitializeProcess().
PVOID g_pfnSE_InstallBeforeInit |
Definition at line 25 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrpLoadShimEngine().
PVOID g_pfnSE_ProcessDying |
Definition at line 27 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), and LdrShutdownProcess().
PVOID g_pShimEngineModule |
Definition at line 22 of file ldrutils.c.
Referenced by LdrInitShimEngineDynamic(), LdrpGetShimEngineFunction(), LdrpLoadShimEngine(), LdrpRunShimEngineInitRoutine(), and LdrpUnloadShimEngine().
BOOLEAN g_ShimsEnabled |
Definition at line 21 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface(), LdrpInitializeProcess(), LdrpLoadDll(), LdrpLoadShimEngine(), LdrpUnloadShimEngine(), LdrShutdownProcess(), and LdrUnloadDll().
PLDR_DATA_TABLE_ENTRY LdrpGetModuleHandleCache |
Definition at line 19 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), and LdrUnloadDll().
PLDR_DATA_TABLE_ENTRY LdrpLoadedDllHandleCache |
Definition at line 19 of file ldrutils.c.
Referenced by LdrpCheckForLoadedDllHandle().