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 code | Description |
|---|---|
|
The method completed successfully. |
|
The mbnConnections parameter is NULL. |
|
Could not allocate the required memory. |
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|
See also