FindDebugInfoFileProc callback function
An application-defined callback function used with the FindDebugInfoFileEx function. It verifies whether the symbol file located by FindDebugInfoFileEx is the correct symbol file.
The PFIND_DEBUG_FILE_CALLBACK and PFIND_DEBUG_FILE_CALLBACKW types define a pointer to this callback function. FindDebugInfoFileProc is a placeholder for the application-defined function name.
Syntax
BOOL CALLBACK FindDebugInfoFileProc( _In_ HANDLE FileHandle, _In_ PCTSTR FileName, _In_ PVOID CallerData );
Parameters
- FileHandle [in]
-
A handle to the symbol file.
- FileName [in]
-
The name of the symbol file.
- CallerData [in]
-
Optional user-defined data. This parameter can be NULL.
Return value
If the symbol file is valid, return TRUE. Otherwise, return FALSE.
Remarks
One way to verify the symbol file is to compare its timestamp to the timestamp in the image. To retrieve the timestamp of the image, use the GetTimestampForLoadedLibrary function. To retrieve the timestamp of the symbol file, use the SymGetModuleInfo64 function.
Requirements
|
Redistributable |
DbgHelp.dll 5.1 or later |
|---|---|
|
Header |
|
See also