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.

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 codeDescription
S_OK

The method completed successfully.

E_POINTER

The mbnInterfaces 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 [desktop apps | Windows Store apps]

IDL

Mbnapi.idl

See also

IMbnInterfaceManager

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.