Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft