Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.
Gets the capabilities of the device.
HRESULT GetInterfaceCapability( MBN_INTERFACE_CAPS *interfaceCaps );
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.
This method can return one of these values.
||The method completed successfully. interfaceCaps contains valid values.|
||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.|
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.
|Minimum supported client||Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||None supported|