Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Use this enumeration with the TEXT_PROVIDER_SPECIFIC_DATAand NOTIFICATION_PROVIDER_SPECIFIC_DATAstructures when calling SmsSendMessageand SmsReadMessageafter having called SmsOpenwith the message replacement type. The replacement type identifies the replace option. Refer to GSM specification 03.40 "Digital Cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS)" for more details.

Syntax

enum PROVIDER_SPECIFIC_REPLACE_OPTION {
PSRO_NONE = 0,
PSRO_REPLACE_TYPE1,
PSRO_REPLACE_TYPE2,
PSRO_REPLACE_TYPE3,
PSRO_REPLACE_TYPE4,
PSRO_REPLACE_TYPE5,
PSRO_REPLACE_TYPE6,
PSRO_REPLACE_TYPE7,
PSRO_RETURN_CALL,
PSRO_DEPERSONALIZATION,
};

Enumerators

PSRO_NONE

Short message type 0, no previous notifications are replaced.

PSRO_REPLACE_TYPE1

Previous notifications of type 1 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE2

Previous notifications of type 2 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE3

Previous notifications of type 3 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE4

Previous notifications of type 4 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE5

Previous notifications of type 5 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE6

Previous notifications of type 6 are replaced with the new message and other parameter values.

PSRO_REPLACE_TYPE7

Previous notifications of type 7 are replaced with the new message and other parameter values.

PSRO_RETURN_CALL

A return call can be made to the originating address.

PSRO_DEPERSONALIZATION

Instructs the receiving application to depersonalize the phone where the depersonalization code is passed in the body of the message. This must not be displayed to the user.

Remarks

The PROVIDER_SPECIFIC_REPLACE_OPTIONenumeration is not applicable for CDMA; the values are ignored.

Requirements

Header sms.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also