IMbnInterface::GetConnection method

Gets the IMbnConnection object associated with this interface.

Syntax


HRESULT GetConnection(
  [out] IMbnConnection **mbnConnection
);

Parameters

mbnConnection [out]

The IMbnConnection object.

Return value

This method can return one of these values.

Return codeDescription
S_OK

The method completed successfully. mbnConnection contains a valid object.

HRESULT_FROM_WIN32(ERROR_NOT_FOUND)

Either there is no available connection or the device is not registered to a network.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnInterface

 

 

Show: