WTP_RESULT
This structure defines the result of a previously initiated class 2 transaction, as sent by the responder to the transaction.
typedef struct wtp_result_tag{
WAP_PRIMITIVE_ID wpiPrimitiveID;
WAP_PRIMITIVE_TYPE wptPrimitiveType;
DWORD dwValidFields;
const BYTE* pbUserData;
DWORD dwUserDataSize;
const BYTE* pbExitInfo;
DWORD dwExitInfoSize;
WTP_TRANSACTION_HANDLE wthTransactionHandle
WTP_TRANSACTION_SECURITY_LEVEL wtslTransactionSecurityLevel;
} WTP_RESULT;
Members
- wpiPrimitiveID
The primitive identifier. The only possible value is WAP_PRIMITIVE_ID_TR_RESULT, 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. - pbUserData
Pointer to the datagram being sent. - dwUserDataSize
The number of bytes in the datagram indicated by pbUserData. - pbExitInfo
Pointer to additional user data to be sent to the sender when the transaction is complete. - dwExitInfoSize
Size, in bytes, of the buffer indicated by pbExitInfo. - wthTransactionHandle
A handle that identifies the transaction for which a result is being sent. See WTP_TRANSACTION_HANDLE. - wtslTransactionSecurityLevel
The security level of the transaction. See WTP_TRANSACTION_SECURITY_LEVEL.
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