Partager via


WAP_PRIMITIVE_ID

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration identifies WAP service primitives, which represent services between WAP layers.

Syntax

enum WAP_PRIMITIVE_ID{
    WAP_PRIMITIVE_ID_T_DUNITDATA = 1,
    WAP_PRIMITIVE_ID_TR_INVOKE,
    WAP_PRIMITIVE_ID_TR_RESULT,
    WAP_PRIMITIVE_ID_TR_ABORT
};

Elements

  • WAP_PRIMITIVE_ID_T_DUNITDATA
    Used for transmitting data as a WDP datagram. This corresponds to the WDP T-DUnitdata PDU.
  • WAP_PRIMITIVE_ID_TR_INVOKE
    Used for initiating a new Wireless Transaction Protocol (WTP) transaction. This corresponds to the WTP TR-Invoke PDU.
  • WAP_PRIMITIVE_ID_TR_RESULT
    Used for sending a result for an ongoing WTP transaction. This corresponds to the WTP TR-Result PDU.
  • WAP_PRIMITIVE_ID_TR_ABORT
    Used for stopping an existing WTP transaction. This corresponds to the WTP TR-Abort PDU.

Remarks

These service primitives indicate services provided to the upper layer.

Requirements

Header wap.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Concepts

WAP Enumerations