Share via


Short Message Service Functions

The following functions are used with Short Message Service (SMS).

Function Description
SmsClearMessageNotification Cancels registration for SMS notifications.
SmsClose Closes an existing SMS Messaging handle.
SmsGetBroadcastMsgRanges Gets the range of broadcast messages the mobile will listen for.
Note   This function is not supported for CDMA.
SmsGetMessageSize This function is deprecated. Use IMailRuleClient to read SMS messages.
SmsGetMessageStatus Retrieves a status report for a sent message.
SmsGetSMSC Reads the default Short Message Service Center (SMSC) address.
Note   This function is not supported for CDMA.
SmsGetPhoneNumber Gets the phone number of the device associated with the SMS bearer.
SmsGetTime Gets an estimate of the current time approximated by the SMSC's clock.
Note   This function is not supported for CDMA.
SmsOpen Opens the SMS Messaging component for send and/or receive access.
SmsReadMessage This function is deprecated. Use IMailRuleClient instead.
SmsSendMessage Sends an SMS message.
SmsSetBroadcastMsgRanges Sets the broadcast message range the mobile will listen for.
Note   This function is not supported for CDMA.
SmsSetMessageNotification Starts your application when an SMS message arrives.
SmsSetSMSC Sets the default SMSC.
Note   This function is not supported for CDMA.

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.