Edit

Share via


IDebugProgramHost2::GetHostMachineName

Gets the name of the machine that the process hosting this program is running on.

Syntax

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