IMbnMultiCarrierEvents::OnInterfaceCapabilityChange method (mbnapi.h)
Important
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.
This notification method is called by the Mobile Broadband service to indicate the completion of a SetHomeProvider operation that updates the interface capabilities.
Syntax
HRESULT OnInterfaceCapabilityChange(
[in] IMbnMultiCarrier *mbnInterface
);
Parameters
[in] mbnInterface
An IMbnMultiCarrier object that represents the Mobile Broadband device.
Return value
This method must return S_OK.
Remarks
When a network carrier is changed due to a call to SetHomeProvider, OnInterfaceCapabilityChange is called when the interface capabilities are updated with the capabilities of the new carrier. An application can then call the GetInterfaceCapability method of the IMbnInterface object passed to SetHomeProvider to get the available capability information. The IMbnInterface can be retrieved by calling QueryInterface on the IMbnMultiCarrier object passed to OnInterfaceCapabilityChange. For a list of interface capabilities, see MBN_INTERFACE_CAPS.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mbnapi.h |