ISdoMachine::GetAttachedComputer method

The GetAttachedComputer method retrieves the name of the computer that is currently attached as an SDO computer.

Syntax

HRESULT GetAttachedComputer(
  BSTR *bstrComputerName
);

Parameters

bstrComputerName

Pointer to a BSTR that receives the name of the computer that is the currently-attached SDO computer.

Return Value

If the method succeeds the return value is S_OK.

If no computer is currently attached, the return value is E_FAIL.

The method may also return one of the following error codes.

Remarks

The GetAttachedComputer allocates the memory for the BSTR variable. The calling application should free this memory by calling SysFreeString.

Requirements

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See Also

ISdoMachine

ISdoMachine::Attach