Partager via


PROVIDER_SPECIFIC_REPLACE_OPTION

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Use this enumeration with the TEXT_PROVIDER_SPECIFIC_DATA and NOTIFICATION_PROVIDER_SPECIFIC_DATA structures when calling SmsSendMessage and SmsReadMessage after having called SmsOpen with 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_OPTION enumeration 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

Reference

Short Message Service Enumerations
TEXT_PROVIDER_SPECIFIC_DATA
NOTIFICATION_PROVIDER_SPECIFIC_DATA
SmsSendMessage
SmsReadMessage
SmsOpen