IDebugProgramHost2::GetHostMachineName
Gets the name of the machine that the process hosting this program is running on.
HRESULT GetHostMachineName(
BSTR* pbstrHostMachineName
);
int GetHostMachineName(
out string pbstrHostMachineName
);
- pbstrHostMachineName
[out] Returns the name of the machine.
If successful, returns S_OK; otherwise, returns an error code.