IMbnSmsEvents 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.
This notification interface signals an application with the completion status of SMS operations and changes in the device SMS status.
Inheritance
The IMbnSmsEvents interface inherits from the IUnknown interface. IMbnSmsEvents also has these types of members:
Methods
The IMbnSmsEvents interface has these methods.
IMbnSmsEvents::OnSetSmsConfigurationComplete Notification method signaling that a set SMS configuration operation has completed, or that the SMS subsystem is initialized and ready for operation. |
IMbnSmsEvents::OnSmsConfigurationChange Notification method that indicates that SMS configuration has changed or is available. |
IMbnSmsEvents::OnSmsDeleteComplete Notification method that signals the completion of an SMS deletion operation. |
IMbnSmsEvents::OnSmsNewClass0Message Notification method signaling the arrival of a new class 0/flash message. |
IMbnSmsEvents::OnSmsReadComplete Notification method indicating the completion of a message read operation. |
IMbnSmsEvents::OnSmsSendComplete Notification method that indicates the completion of a message send operation. |
IMbnSmsEvents::OnSmsStatusChange Notification method indicating a change in the status of the message store. |
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_IMbnSmsEvents to riid.
- Call Advise on the returned connection point and pass a pointer to an IUnknown interface on an object that implements IMbnSmsEvents 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 |