Debugging Tools for Windows |
The GetCurrentProcessSystemId method returns the system process ID of the current process.
HRESULT
IDebugSystemObjects::GetCurrentProcessSystemId(
OUT PULONG SysId
);
This method may also return other error values. See Return Values for more details.
GetCurrentProcessSystemId is available in all versions of IDebugSystemObjects.
This method is only available in user-mode debugging.
For more information about processes, see Threads and Processes.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.