IMbnRadioEvents interface (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.
Notification interface used to indicate a change in the radio state as well as the completion of a programmatic change in the state .
Inheritance
The IMbnRadioEvents interface inherits from the IUnknown interface. IMbnRadioEvents also has these types of members:
Methods
The IMbnRadioEvents interface has these methods.
IMbnRadioEvents::OnRadioStateChange A notification signaling that the radio state of the device has changed. |
IMbnRadioEvents::OnSetSoftwareRadioStateComplete Notification that a set software radio state operation has completed. |
Remarks
The following procedure describes how to register for notifications.
- Get an IConnectionPointContainer interface by calling QueryInterface on an IMbnInterfaceManager object.
- Call FindConnectionPoint on the returned interface and pass IID_IMbnRadioEvents to riid.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnRadioEvents to pUnk.
To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |