WDP_PROVIDER_SPECIFIC_DATA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure is used for provider-specific data for use with the functions SmsSendMessage and SmsReadMessage. The Wireless Datagram Protocol (WDP) provider is a generic protocol that allows WDP applications to pass data through the Short Message Service (SMS) bearer.

WDP is the bottom layer of the Wireless Application Protocol (WAP) stack. It provides a consistent connection to higher layers in the protocol stack by abstracting the underlying bearers. Note that the WDP provider described in this document is simply the bearer protocol used for supporting WDP over SMS, it is not the actual WDP interface. See the WAP-200-WDP "Wireless Datagram Protocol (WDP)" specification for more detail.

The following structure provides a description of the fields encoded in the provider-specific portion of this message. The source and destination port model is analogous to the port model used in the sockets architecture.

Syntax

typedef struct wdp_provider_specific_data_tag {
    WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING wdppsPortAddressing;
    WORD wDestinationPort;
    WORD wOriginatorPort;
} WDP_PROVIDER_SPECIFIC_DATA;

Members

  • wdppsPortAddressing
    The port addressing mode. See the WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING enumeration for possible values.
  • wDestinationPort
    The port number on which the packet is delivered.
  • wOriginatorPort
    The port number on which the packet is sent.

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

Reference

Short Message Service Structures
WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING
SmsSendMessage
SmsReadMessage