IDebugSystemObjects4::GetCurrentProcessSystemId method (dbgeng.h)

The GetCurrentProcessSystemId method returns the system process ID of the current process.

Syntax

HRESULT GetCurrentProcessSystemId(
  [out] PULONG SysId
);

Parameters

[out] SysId

Receives the system process ID.

Return value

This method may also return other error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.
E_NOTIMPL
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)