Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.