-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourImportFuncCallbackEx
Brian Gianforcaro edited this page Aug 22, 2020
·
4 revisions
Pointer to function called once for each entry in the IAT enumerated by
DetourEnumerateImportsEx
. This is
similar to
PF_DETOUR_IMPORT_FUNC_CALLBACK
except here the last parameter points to the entry in the IAT.
BOOL ImportFuncCallbackEx(
_In_opt_ PVOID pContext,
_In_ ULONG nOrdinal,
_In_opt_ PCSTR pszName,
_In_opt_ PVOID *pvFunc
);
pContext
: Umodified program specific context pointer passed as pContext
argument to DetourEnumerateImportsEx
.
nOrdinal
: Ordinal of imported function. 0
if the import is by name.
pszName
: Name of imported function. NULL
if the import is by ordinal.
pvFunc
: Pointer to the address within the Import Address Table ("IAT") for
the function (or less commonly, data). NULL
if the end of the module.
TRUE
to continue enumeration of import functions or FALSE
to abort
enumeration.