Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure defines the result of a previously initiated class 2 transaction, as sent by the responder to the transaction.
Syntax
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_IDenumeration. 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_TYPEenumeration.
- 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
Header | wap.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |