// nfcsedev.h
// CTL_CODE(0x0022, 0x201, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_NFCSE_SUBSCRIBE_FOR_EVENT 0x00220804
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_NFCSE_SUBSCRIBE_FOR_EVENT control code is issued by a client to subscribe to a specific event.
SECURE_ELEMENT_EVENT_SUBSCRIPTION_INFO structure.
None
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 with a filename other than SEEvents, or there is already another pending request that is not completed yet. |
| STATUS_FEATURE_NOT_SUPPORTED | This code is returned when the output 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.