Go to the source code of this file.
#define _DLOAD_DLOADSUP_H |
#define DLOAD_ASSERT |
( |
|
_exp | ) |
((void) 0) |
#define DLOAD_INLINE __inline |
#define DLOAD_UNSUPPORTED ((HMODULE)0x1) |
#define FAST_FAIL_DLOAD_PROTECTION_FAILURE 25 |
#define IMAGE_GUARD_PROTECT_DELAYLOAD_IAT 0x00001000 |
DLOAD_INLINE PVOID WINAPI Dload__delayLoadHelper2 |
( |
_In_ PCIMAGE_DELAYLOAD_DESCRIPTOR |
DelayloadDescriptor, |
|
|
_Out_ PIMAGE_THUNK_DATA |
ThunkAddress, |
|
|
_Out_ PBOOLEAN |
NativeHandled |
|
) |
| |
835 *NativeHandled = FALSE;
839 *NativeHandled = TRUE;
844 DelayLoadFailureHook,
#define NULL
Definition: vcruntime.h:236
DLOAD_INLINE BOOLEAN DloadResolve(VOID)
Definition: dloadsup.h:729
typedef PVOID(NTAPI *ResolveDelayLoadedAPIProc)(_In_ PVOID ParentModuleBase
ResolveDelayLoadedAPIProc DloadResolveDelayLoadedAPI
Definition: dloadsup.h:189
_In_ PCIMAGE_DELAYLOAD_DESCRIPTOR _In_opt_ PDELAYLOAD_FAILURE_DLL_CALLBACK _In_opt_ PDELAYLOAD_FAILURE_SYSTEM_ROUTINE _Out_ PIMAGE_THUNK_DATA ThunkAddress
Definition: dloadsup.h:172
const IMAGE_DOS_HEADER __ImageBase
Definition: delayhlp.cpp:95
_In_ PCIMAGE_DELAYLOAD_DESCRIPTOR DelayloadDescriptor
Definition: dloadsup.h:172
ExternC const PfnDliHook __pfnDliFailureHook2
Definition: delayimp.h:141
DLOAD_INLINE HRESULT WINAPI Dload__HrLoadAllImportsForDll |
( |
_In_ LPCSTR |
DllName, |
|
|
_Out_ PBOOLEAN |
NativeHandled |
|
) |
| |
887 *NativeHandled = FALSE;
888 return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
891 *NativeHandled = TRUE;
897 if (Status == STATUS_DLL_NOT_FOUND) {
898 return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
#define S_OK
Definition: comutil.h:62
typedef NTSTATUS(NTAPI *ResolveDelayLoadsFromDllProc)(_In_ PVOID ParentBase
DLOAD_INLINE BOOLEAN DloadResolve(VOID)
Definition: dloadsup.h:729
typedef PVOID(NTAPI *ResolveDelayLoadedAPIProc)(_In_ PVOID ParentModuleBase
ResolveDelayLoadsFromDllProc DloadResolveDelayLoadsFromDll
Definition: dloadsup.h:190
const IMAGE_DOS_HEADER __ImageBase
Definition: delayhlp.cpp:95
759 if (Kernel32 !=
NULL) {
763 Kernel32 = GetModuleHandleW(L
"api-ms-win-core-delayload-l1-1-1.dll");
764 if (Kernel32 ==
NULL) {
765 Kernel32 = GetModuleHandleW(L
"KERNEL32.DLL");
766 if (Kernel32 ==
NULL) {
773 (ResolveDelayLoadedAPIProc)GetProcAddress(Kernel32,
774 "ResolveDelayLoadedAPI");
782 (ResolveDelayLoadsFromDllProc)GetProcAddress(Kernel32,
783 "ResolveDelayLoadsFromDll");
#define NULL
Definition: vcruntime.h:236
typedef PVOID(NTAPI *ResolveDelayLoadedAPIProc)(_In_ PVOID ParentModuleBase
ResolveDelayLoadedAPIProc DloadResolveDelayLoadedAPI
Definition: dloadsup.h:189
#define DLOAD_UNSUPPORTED
Definition: dloadsup.h:165
ResolveDelayLoadsFromDllProc DloadResolveDelayLoadsFromDll
Definition: dloadsup.h:190
HMODULE DloadKernel32
Definition: dloadsup.h:188
typedef NTSTATUS |
( |
NTAPI * |
ResolveDelayLoadsFromDllProc | ) |
|
typedef PVOID |
( |
NTAPI * |
ResolveDelayLoadedAPIProc | ) |
|
ResolveDelayLoadedAPIProc DloadResolveDelayLoadedAPI |
ResolveDelayLoadsFromDllProc DloadResolveDelayLoadsFromDll |