SymEnumProcessesProc callback function

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


BOOL CALLBACK SymEnumProcessesProc(
  _In_ HANDLE hProcess,
  _In_ PVOID  UserContext
);

Parameters

hProcess [in]

A handle to the process.

UserContext [in]

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

Redistributable

DbgHelp.dll 6.3 or later

Header

DbgHelp.h

See also

SymEnumProcesses

 

 

Show: