ReactOS 0.4.16-dev-292-gbbdcc14
|
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 1523 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 447 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 788 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 1953 of file ldrutils.c.
Referenced by LdrGetDllHandleEx(), LdrpLoadDll(), LdrpLoadImportModule(), and LdrpUpdateLoadCount3().
Definition at line 1595 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrDisableThreadCalloutsForDll(), LdrpGetProcedureAddress(), LdrpSnapThunk(), and LdrUnloadDll().
Definition at line 2644 of file ldrutils.c.
Referenced by LdrAddRefDll(), LdrGetDllHandleEx(), LdrpLoadDll(), and LdrpRunInitializeRoutines().
Definition at line 509 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 518 of file ldrutils.c.
Referenced by LdrpMapDll().
Definition at line 767 of file ldrutils.c.
Referenced by LdrpMapDll().
VOID NTAPI LdrpFinalizeAndDeallocateDataTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | Entry | ) |
Definition at line 1572 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 2226 of file ldrutils.c.
Referenced by AvrfpResolveThunks(), LdrGetProcedureAddress(), LdrpGetShimEngineFunction(), and LdrpSnapThunk().
Definition at line 2679 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface().
Definition at line 2692 of file ldrutils.c.
Referenced by LdrInitShimEngineDynamic(), and LdrpLoadShimEngine().
VOID NTAPI LdrpInsertMemoryTableEntry | ( | IN PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 1556 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 2409 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 2752 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 997 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 673 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 1641 of file ldrutils.c.
Referenced by LdrpSearchPath().
Definition at line 2717 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 1757 of file ldrutils.c.
Definition at line 921 of file ldrutils.c.
Referenced by LdrpInitializeProcess(), and LdrpMapDll().
Definition at line 2777 of file ldrutils.c.
Referenced by LdrpGetShimEngineInterface().
Definition at line 434 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().