Share via


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
);

Parameters

  • pbstrHostMachineName
    [out] Returns the name of the machine.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugProgramHost2