Returns the process ID for the host application.
Syntax
HRESULT GetHostPid(
DWORD* dwHostPid
);
Parameters
dwHostPid
[out] The host process identifier.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
Used by the IDE.