WTP_ABORT
This structure defines the mechanism used for stopping an existing transaction and identifying an existing transaction that has been stopped.
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
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 indicating 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
Pocket PC: Pocket PC 2002 and later.
Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: Wap.h.
See Also
WAP_PRIMITIVE_ID | WAP_PRIMITIVE_BASE | WAP_PRIMITIVE_TYPE
Send Feedback on this topic to the authors