IDebugSystemObjects::GetCurrentProcessId method

The GetCurrentProcessId method returns the engine process ID for the current process.

Syntax


HRESULT GetCurrentProcessId(
  [out] PULONG Id
);

Parameters

Id [out]

Receives the engine process ID for the current process.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

For more information about processes, see Threads and Processes.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show: