Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
---|---|
|
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) |