SMSREGISTRATIONDATA

Send Feedback

This is a registration structure that is used by SmsSetMessageNotification and SmsClearMessageNotification calls. This structure is passed in when registering for Short Message Service (SMS) notifications.

typedef struct smsregistrationdata_tag {
DWORD cbSize;
TCHAR tszAppName[SMS_MAX_APPNAME_LENGTH];
TCHAR tszParams[SMS_MAX_PARAMS_LENGTH];
TCHAR tszProtocolName[SMS_MAX_PROTOCOLNAME_LENGTH];
} SMSREGISTRATIONDATA, *LPSMSREGISTRATIONDATA;

Members

  • cbSize
    The size of the structure in bytes.
  • tszAppName
    The name of the application that should be run to retrieve the incoming message.
  • tszParams
    Command line parameters to pass to the application.
  • tszProtocolName
    A string indicating which message type to notify the application about. Possible values are listed in the following table.
    Value Description
    SMS_MSGTYPE_BROADCAST Microsoft Broadcast Message SMS Protocol (Receive Only)
    SMS_MSGTYPE_TEXT Microsoft Text SMS Protocol
    SMS_MSGTYPE_NOTIFICATION Microsoft Notification SMS Protocol (Receive Only)
    SMS_MSGTYPE_WDP Microsoft WDP SMS Protocol
    SMS_MSGTYPE_WCMP Microsoft WCMP SMS Protocol
    SMS_MSGTYPE_STATUS Microsoft Status Message SMS Protocol (Receive Only)
    SMS_MSGTYPE_RAW Microsoft Raw SMS Protocol (Receive Only)

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 Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.