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::GetInterfaceCapability method

Gets the capabilities of the device.

Syntax


HRESULT GetInterfaceCapability(
  [out, retval]  MBN_INTERFACE_CAPS *interfaceCaps
);

Parameters

interfaceCaps [out, retval]

A pointer to an MBN_INTERFACE_CAPS structure that contains the interface capabilities. If this method returns any value other than S_OK, this parameter is NULL.

Return value

This method can return one of these values.

Return codeDescription
S_OK

The method completed successfully. interfaceCaps contains valid values.

E_PENDING

The information is not available. The Mobile Broadband service is currently probing for the device capabilities. The calling application can get notified when the device capabilities are available by registering for the OnInterfaceCapabilityAvailable method of IMbnInterfaceEvents.

 

Remarks

The GetInterfaceCapability method returns the interface capabilities, including the cellular technology type, the type of support for voice calls, the type of SIM used, the frequency bands supported, and the availability of SMS support. It also returns the device manufacturer name, model, and firmware name, though these are optional and may not be filled for some of the devices. For more information, see MBN_INTERFACE_CAPS.

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

IMbnInterface

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.