// nfcsedev.h
// CTL_CODE(0x0022, 0x250, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_NFCSE_HCE_REMOTE_RECV 0x00220940
View the official Windows Driver Kit DDI referenceNo description available.
Either returns the next data buffer available, or if there are no more buffered data, the request shall stay pending until an APDU buffer is available for reading. The data buffer shall then be returned to the caller. Note that the caller must allocate an output buffer large enough to hold the largest APDU that has been received + 4 bytes overhead.
None
None
A DWORD indicating the size of the SECURE_ELEMENT_HCE_DATA_PACKET structure plus its payload, immediately followed by the SECURE_ELEMENT_HCE_DATA_PACKET structure itself.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Possible error codes are:
| Return Code | Description |
|---|---|
| STATUS_BUFFER_OVERFLOW | The buffer supplied was too small to receive the notification, the first DWORD will contain the expected buffer size. |
| STATUS_INVALID_PARAMETER | If the input buffer is non-zero. |
| STATUS_INVALID_DEVICE_STATE | If the IOCTL is sent on a handle other than with the relative name 'SEManage'. |
The following are requirements that the driver must adhere to.