SymEnumProcessesProc Callback Function

Debug Help Library

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.

BOOL CALLBACK SymEnumProcessesProc(
  [in]                 HANDLE hProcess,
  [in]                 PVOID UserContext
);

Parameters

hProcess

A handle to the process.

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

Redistributable

Requires DbgHelp.dll 6.3 or later.

Header

Declared in DbgHelp.h.

See Also

SymEnumProcesses

Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.