Debugging Tools for Windows |
The GetRunningProcessSystemIds method returns the process IDs for each running process.
HRESULT
IDebugClient::GetRunningProcessSystemIds(
IN ULONG64 Server,
OUT OPTIONAL PULONG Ids,
IN ULONG Count,
OUT OPTIONAL PULONG ActualCount
);
This method may also return error values. See Return Values for more details.
GetRunningProcessSystemIds is available in all versions of IDebugClient.
This method is available only for live user-mode debugging.
For more information about creating and attaching to live user-mode targets, see Live User-Mode Targets.
Headers: Defined in dbgeng.h. Include dbgeng.h.
GetRunningProcessDescription, GetRunningProcessSystemIdByExecutableName, ConnectProcessServer, AttachProcess, CreateProcessAndAttach2