// nfcsedev.h
// CTL_CODE(0x0022, 0x202, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_NFCSE_GET_NEXT_EVENT 0x00220808
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_NFCSE_GET_NEXT_EVENT control code returns the next event available in the buffer, or if there are no more buffered events remains pending until a secure element event is available. The event details must then be returned to the caller.
None
None
A DWORD indicating the size of the SECURE_ELEMENT_EVENT_INFO structure plus its payload, immediately followed by the SECURE_ELEMENT_EVENT_INFO structure itself.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Possible error codes are:
| Return Code | Description |
|---|---|
| STATUS_INVALID_DEVICE_STATE | This code is returned when this IOCTL is called on a device handle that has a filename other than SEEvents, or when there is already another pending request that is not completed yet. |
| STATUS_INVALID_PARAMETER | This code is returned when the output buffer is non-zero, or when the GUID of the secure element does not match any of the enumerated IDs. |
The following are requirements that the driver must adhere to.
The following conditions must be met when this IOCTL is received in the driver: