Share via


WAP_PRIMITIVE_ID

The WAP_PRIMITIVE_ID enumeration is used for identifying WAP service primitives that are used in WAP_PRIMITIVE_BASE, WDP_UNITDATA, WTP_ABORT, WTP_INVOKE, and WTP_RESULT structures. Service primitives represent services between WAP layers.

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,
};

Enumerators

  • WAP_PRIMITIVE_ID_T_DUNITDATA
    Transmits data as a datagram. This corresponds to the WDP T-DUnitdata PDU.
  • WAP_PRIMITIVE_ID_TR_INVOKE
    Initiates a new transaction. This corresponds to the WTP TR-Invoke PDU.
  • WAP_PRIMITIVE_ID_TR_RESULT
    Sends a result of the previously initiated transaction. This corresponds to the WTP TR-Result PDU.
  • WAP_PRIMITIVE_ID_TR_ABORT
    Stops an existing transaction. This corresponds to the WTP TR-Abort PDU.

Remarks

These service primitives indicate services provided to the upper layer.

Requirements

Pocket PC Platforms: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: wap.h
Library: wap.lib

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.