IDebugSystemObjects2::GetProcessIdBySystemId method (dbgeng.h)
The GetProcessIdBySystemId method returns the engine process ID for a process specified by its system process ID.
Syntax
HRESULT GetProcessIdBySystemId(
[in] ULONG SysId,
[out] PULONG Id
);
Parameters
[in] SysId
Specifies the system process ID.
[out] Id
Receives the engine process ID.
Return value
This method may also return other error values. See Return Values for more details.
Return code | Description |
---|---|
|
The method was successful. |
|
The target is a kernel-mode target. |
Remarks
This method is only available in user-mode debugging.
For more information about processes, see Threads and Processes.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |