IOCTL_NFCSE_GET_NEXT_EVENT - NtDoc

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

NtDoc

No description available.

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

IOCTL_NFCSE_GET_NEXT_EVENT IOCTL

Description

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.

Parameters

Major code

Input buffer

None

Input buffer length

None

Output buffer

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.

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

Remarks

The following are requirements that the driver must adhere to.