次の方法で共有


WCMP_PROVIDER_SPECIFIC_DATA

Send Feedback

This structure is used for provider-specific data for use with SmsSendMessage and SmsReadMessage calls. Supporting Global System for Mobile Communications (GSM) Wireless Control Message Protocol (WCMP) is required for compliance as an Short Message Service (SMS) bearer.

typedef struct wcmp_provider_specific_data_tag {
WCMP_PROVIDER_SPECIFIC_MESSAGE_TYPE wcmppsMessageType;
WORD wParam1;
WORD wParam2;
WORD wParam3;
SMS_ADDRESS smsaAddress;
} WCMP_PROVIDER_SPECIFIC_DATA;

Members

  • wcmppsMessageType
    The type of WCMP message.
  • wParam1, wParam2, wParam3, smsaAddress
    Use of these parameters is shown in the following table. The WCMP type and code are shown for reference only.
    DwMessageType wParam1 WParam2 wParam3 smsaAddress
    WCMP_PORT_UNREACHABLE Destination port of original packet Source port of original packet Ignored Destination address of original packet
    WCMP_MESSAGE_TOO_BIG Destination port of original packet Source port of original packet Maximum message size in bytes Destination address of original packet
    WCMP_ECHO_REQUEST Identifier Sequence number Ignored Ignored
    WCMP_ECHO_REPLY Identifier Sequence number Ignored Ignored

Remarks

The WDP layer sends the WCMP_MESSAGETOOBIG message if an incoming primitive exceeds its limit. However, the WDP Short Message Service (SMS) provider will also issue this WCMP message directly if a multipart message is bigger than the provider can handle.

Also note that the WDP layer, not the GSM WCMP provider, sends replies to WCMP_ECHOREQUEST messages.

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.