IMbnConnectionManager::GetConnections method

Gets a list of available connections.

Syntax


HRESULT GetConnections(
  [out] SAFEARRAY(IMbnConnection*) *mbnConnections
);

Parameters

mbnConnections [out]

An array of IMbnConnection interfaces representing connections that are associated with the devices. If this method returns anything other than S_OK, then this is NULL. Otherwise the calling application must free the allocated memory by calling SafeArrayDestroy.

Return value

This method can return one of these values.

Return codeDescription
S_OK

The method completed successfully.

E_POINTER

The mbnConnections parameter is NULL.

E_OUTOFMEMORY

Could not allocate the required memory.

 

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnConnectionManager

 

 

Show: