Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

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

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