IDebugClient5::GetRunningProcessSystemIds method (dbgeng.h)
The GetRunningProcessSystemIds method returns the process IDs for each running process.
Syntax
HRESULT GetRunningProcessSystemIds(
[in] ULONG64 Server,
[out, optional] PULONG Ids,
[in] ULONG Count,
[out, optional] PULONG ActualCount
);
Parameters
[in] Server
Specifies the process server to query for process IDs. If Server is zero, the engine will return the process IDs of the processes running on the local computer.
[out, optional] Ids
Receives the process IDs. The size of this array is Count. If Ids is NULL, this information is not returned.
[in] Count
Specifies the number of process IDs the array Ids can hold.
[out, optional] ActualCount
Receives the actual number of process IDs returned in Ids.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |