共用方式為


PROVIDER_SPECIFIC_REPLACE_OPTION

Send Feedback

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.

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

Smartphone: Smartphone 2002 and later
Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: sms.h
Library: sms.lib

See Also

Short Message Service Enumerations

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.