The GetRunningProcessSystemIds method returns the process IDs for each running process.
HRESULT GetRunningProcessSystemIds( ULONG64 Server, PULONG Ids, ULONG Count, PULONG ActualCount );
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.
Receives the process IDs. The size of this array is Count. If Ids is NULL, this information is not returned.
Specifies the number of process IDs the array Ids can hold.
Receives the actual number of process IDs returned in Ids.
This method may also return error values. See Return Values for more details.
||The method was successful.|
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.
|Header||dbgeng.h (include Dbgeng.h)|
Send feedback about: