-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourImportFuncCallback
Brian Gianforcaro edited this page Aug 22, 2020
·
5 revisions
Pointer to function called once for each function enumerated by
DetourEnumerateImports
.
BOOL ImportFuncCallback(
_In_opt_ PVOID pContext,
_In_ ULONG nOrdinal,
_In_opt_ PCSTR pszName,
_In_opt_ PVOID pvFunc
);
pContext
: Unmodified program specific context pointer passed as pContext
argument to DetourEnumerateImports
.
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 code implementing 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.