SECURE_ELEMENT_HCE_DATA_PACKET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nfcsedev.h

typedef struct _SECURE_ELEMENT_HCE_DATA_PACKET {
  USHORT bConnectionId;
  USHORT cbPayload;
  BYTE   pbPayload[ANYSIZE_ARRAY];
} SECURE_ELEMENT_HCE_DATA_PACKET, *PSECURE_ELEMENT_HCE_DATA_PACKET;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-nfcsedev-_secure_element_hce_data_packet)

_SECURE_ELEMENT_HCE_DATA_PACKET structure

Description

SECURE_ELEMENT_HCE_DATA_PACKET is an input buffer to IOCTL_NFCSE_HCE_REMOTE_SEND and output buffer for IOCTL_NFCSE_HCE_REMOTE_RECV.

Members

bConnectionId

The ID of the connection established between the device and the smart card reader, on which to send and receive the HCE packet. This ID is also received from IOCTL_NFCSE_GET_NEXT_EVENT when the event type (SECURE_ELEMENT_EVENT_TYPE) is HceActivated or HceDeactivated. Then the pbEventData field of the returned SECURE_ELEMENT_EVENT_INFO structure is a SECURE_ELEMENT_HCE_ACTIVATION_PAYLOAD structure, which contains a bConnectionId member.

cbPayload

Length of ISO 7816-4 APDU buffer.

pbPayload[ANYSIZE_ARRAY]

Buffer holding ISO 7816-4 APDU.