IMbnSmsEvents interface
This notification interface signals an application with the completion status of SMS operations and changes in the device SMS status.
Members
The IMbnSmsEvents interface inherits from the IUnknown interface. IMbnSmsEvents also has these types of members:
Methods
The IMbnSmsEvents interface has these methods.
| Method | Description |
|---|---|
| OnSetSmsConfigurationComplete |
A set SMS configuration operation has completed, or the SMS subsystem is initialized and ready for operation. |
| OnSmsConfigurationChange |
The SMS configuration is available or changed. |
| OnSmsDeleteComplete |
A SMS delete operation has completed. |
| OnSmsNewClass0Message |
A new Class0/Flash message was received by the device. |
| OnSmsReadComplete |
A SMS read operation has completed. |
| OnSmsSendComplete |
A SMS send operation has completed. |
| OnSmsStatusChange |
The has been a change in the status of the device 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.
Notifications can be terminated by calling Unadvise on the connection point returned in step 2.
To view some code that registers for COM notifications, see the Client section of the COM Connection Points article.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|