ISdoMachine::GetAttachedComputer method (sdoias.h)

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

Syntax

HRESULT GetAttachedComputer(
  [out] BSTR *bstrComputerName
);

Parameters

[out] 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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows ServerĀ 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See also

ISdoMachine

ISdoMachine::Attach