-
Notifications
You must be signed in to change notification settings - Fork 1.1k
DetourBinaryFileCallback
Brian Gianforcaro edited this page Aug 22, 2020
·
5 revisions
Pointer to function called once for file while editing an import table
using the DetourBinaryEditImports API.
BOOL BinaryFileCallback(
_In_opt_ PVOID pContext,
_In_ LPCSTR pszOrigFile,
_In_ LPCSTR pszFile,
_Outptr_result_maybenull_ LPCSTR * ppszOutFile
);pContext
: Unmodified program specific context pointer passed as pContext
argument to DetourBinaryEditImports.
pszOrigFile : Name of file listed in original import table.
pszFile : Name of file listed in current import table
ppszOutFile : Pointer to output desired import table name.
TRUE to continue editing import table or FALSE to abort.