IOCTL_NFCSE_HCE_REMOTE_RECV - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-nfcsedev-ioctl_nfcse_hce_remote_recv)

IOCTL_NFCSE_HCE_REMOTE_RECV IOCTL

Description

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.

Parameters

Major code

Input buffer

None

Input buffer length

None

Output buffer

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.

Output buffer length

Input/output buffer

Input/output buffer length

Status block

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'.

Remarks

The following are requirements that the driver must adhere to.