Compartilhar via


Short Message Service Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Determines an upper-bound for the size of the buffer.

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

Reads a previously received SMS message.

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.

See Also

Concepts

Short Message Service (SMS) API