Share via


CLASS2_PROVIDER_SPECIFIC_DATA (Compact 2013)

3/26/2014

This structure provides a description of the fields used for provider-specific data.

Syntax

typedef struct class2_provider_specific_data_tag {
    DWORD dwMessageOptions;
    PROVIDER_SPECIFIC_MESSAGE_CLASS psMessageClass;
    PROVIDER_SPECIFIC_REPLACE_OPTION psReplaceOption;
    DWORD dwHeaderDataSize;
    BYTE pbHeaderData[ SMS_DATAGRAM_SIZE ];
    BOOL fMessageContainsEMSHeaders;
    DWORD dwProtocolID;
    DWORD dwLocation;
    DWORD dwIndex;
} CLASS2_PROVIDER_SPECIFIC_DATA;

Members

  • [in] dwHeaderDataSize
    Size of the header. For multipart messages, this is the size of each segment's header.
  • [out] pbHeaderData[ SMS_DATAGRAM_SIZE ]
    Information contained in the header.

    For multipart messages, only the header of the first segment is returned.

    The size must be zero for ordinary text messages.

  • [out] fMessageContainsEMSHeaders
    Set when one or more segments of the message contain EMS headers and the EMS handler is installed.

    This flag applies to incoming messages only.

  • [in,out] dwProtocolID
    SMS Message Protocol Constants value.

    Applies only to GSM.

    [in] Desired Protocol of outgoing message.

    If psReplaceOption is not PSRO_NONE, then this should be set to SMS_MSGPROTOCOL_UNKNOWN.

    [out] Protocol of incoming message.

  • [in,out] dwIndex
    Specifies the storage index occupied by the message.

Requirements

Header

sms.h

See Also

Reference

Short Message Service Structures
Message Storage Constants
PROVIDER_SPECIFIC_MESSAGE_CLASS
PROVIDER_SPECIFIC_REPLACE_OPTION
NOTIFICATION_PROVIDER_SPECIFIC_MSG_WAITING_TYPE
NOTIFICATION_PROVIDER_SPECIFIC_INDICATOR_TYPE
SMS Message Protocol Constants
SMS Provider Specific Message Options Constants