IMbnInterfaceManager::GetInterfaces method
Gets a list of all available IMbnInterface objects.
Syntax
HRESULT GetInterfaces( [out, retval] SAFEARRAY(IMbnInterface*) *mbnInterfaces );
Parameters
- mbnInterfaces [out, retval]
-
An array of IMbnInterface interfaces that are associated with the device. 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 mbnInterfaces 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