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