The PIMAGEHLP_STATUS_ROUTINE function is an application-defined callback function used with the BindImageEx function. The status routine is called during the process of the image binding.
The PIMAGEHLP_STATUS_ROUTINE type defines a pointer to this callback function. The application can define the function name.
typedef BOOL (CALLBACK *PIMAGEHLP_STATUS_ROUTINE)(
IMAGEHLP_STATUS_REASON Reason,
LPSTR ImageName,
LPSTR DllName,
ULONG Va,
ULONG Parameter
);
Value | Meaning |
---|---|
BindOutOfMemory | |
BindRvaToVaFailed | |
BindNoRoomInImage | |
BindImportModuleFailed | |
BindImportProcedureFailed | |
BindImportModule | |
BindImportProcedure | |
BindForwarder | |
BindForwarderNOT | |
BindImageModified | |
BindExpandFileHeaders | |
BindImageComplete | |
BindMismatchedSymbols | |
BindSymbolsNotUpdated |
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.
PE Image Helper (ImageHlp) Overview, ImageHlp Image Modification Functions, BindImageEx