SECURE_ELEMENT_EVENT_INFO structure (nfcsedev.h)

This structure provides information about a secure element event.

Syntax

typedef struct _SECURE_ELEMENT_EVENT_INFO {
  GUID                      guidSecureElementId;
  SECURE_ELEMENT_EVENT_TYPE eEventType;
  DWORD                     cbEventData;
  BYTE                      pbEventData[ANYSIZE_ARRAY];
} SECURE_ELEMENT_EVENT_INFO, *PSECURE_ELEMENT_EVENT_INFO;

Members

guidSecureElementId

This is a unique identifier for the secure element.

eEventType

This is an event type. For more information about the types, see the SECURE_ELEMENT_EVENT_TYPE enumeration topic.

cbEventData

This is the amount of bytes for the pbEventData array.

pbEventData[ANYSIZE_ARRAY]

This is the event data buffer. When eEventType is HceActivated or HceDeactivated, this member contains a pointer to a SECURE_ELEMENT_HCE_ACTIVATION_PAYLOAD structure. The bConnectionId member in that structure is the same ID value that's used in SECURE_ELEMENT_HCE_DATA_PACKET to send and receive an HCE packet with IOCTL_NFCSE_HCE_REMOTE_SEND and IOCTL_NFCSE_HCE_REMOTE_RECV.

When eEventType is ExternalReaderArrival or ExternalReaderDeparture, pbEventData is empty and cbEventData is 0.

When eEventType is Transaction, pbEventData contains a list of parameters that is encoded in BER-TLV fields. This event is mapped to EVT_TRANSACTION.

Requirements

Requirement Value
Header nfcsedev.h