PSYM_ENUMPROCESSES_CALLBACK callback function (dbghelp.h)
An application-defined function used with the SymEnumProcesses function.
The PSYM_ENUMPROCESSES_CALLBACK type defines a pointer to this callback function. SymEnumProcessesProc is a placeholder for the application-defined function name.
Syntax
PSYM_ENUMPROCESSES_CALLBACK PsymEnumprocessesCallback;
BOOL PsymEnumprocessesCallback(
[in] HANDLE hProcess,
[in] PVOID UserContext
)
{...}
Parameters
[in] hProcess
A handle to the process.
[in] UserContext
The user-defined value passed from the SymEnumProcesses function, or NULL. This parameter is typically used by an application to pass a pointer to a data structure that provides context information for the callback function.
Return value
If the function returns TRUE, the enumeration will continue.
If the function returns FALSE, the enumeration will stop.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dbghelp.h |
Redistributable | DbgHelp.dll 6.3 or later |