WTP_ABORT (Compact 2013)

3/26/2014

This structure defines the mechanism used to stop an existing transaction and to identify an existing transaction that has been stopped.

Syntax

typedef struct wtp_abort_tag{
  WAP_PRIMITIVE_ID wpiPrimitiveID;
  WAP_PRIMITIVE_TYPE wptPrimitiveType;
  DWORD dwValidFields;
  BYTE bAbortCode;
  WTP_TRANSACTION_HANDLE wthTransactionHandle;
} WTP_ABORT;

Members

  • wpiPrimitiveID
    The primitive identifier. The only possible value is WAP_PRIMITIVE_ID_TR_ABORT, as defined by the WAP_PRIMITIVE_ID enumeration. Applications will cast the base structure according to this identifier. It is always present and valid.
  • wptPrimitiveType
    The primitive type. Possible values are any of the values defined for the WAP_PRIMITIVE_TYPE enumeration.
  • dwValidFields
    The bitmask that indicates the valid fields in the primitive, dependent on the value of wpiPrimitiveID. For possible values, see WAP_PRIMITIVE_BASE.
  • bAbortCode
    A code that indicates the reason for stopping the transaction. This value is passed transparently. Possible values are listed in the following table.

    Value

    Description

    WTP_ABORTCODE_NORESPONSE

    User Acknowledgement was requested, but the user did not respond.

    WTP_ABORTCODE_NOTIMPL_UACK

    The responder does not support User Acknowledgement.

  • wthTransactionHandle
    A handle that identifies the transaction that is being stopped. See WTP_TRANSACTION_HANDLE.

Remarks

This implementation provides a TR-Abort notification to the initiator or responder. This notification indicates that the transaction has ended and there is no point in attempting to send any more data or waiting to receive any more data.

Requirements

Header

wap.h

See Also

Reference

WAP Structures
WTP_TRANSACTION_HANDLE
WAP_PRIMITIVE_ID
WAP_PRIMITIVE_BASE
WAP_PRIMITIVE_TYPE