IOCTL_NFCSE_ENUM_ENDPOINTS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// nfcsedev.h

// CTL_CODE(0x0022, 0x200, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_NFCSE_ENUM_ENDPOINTS 0x00220800
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_NFCSE_ENUM_ENDPOINTS IOCTL

Description

Returns information regarding the list of all the secure elements attached to the NFC controller. Note that the caller must allocate an output buffer large enough to hold information regarding all the secure elements that were enumerated by the driver i.e. Total number of SEs Enumerated x Size of the SE endpoint info otherwise the driver should return a STATUS_BUFFER_OVERFLOW error code to the client with the NumberOfEndpoints field containing the number of secure elements enumerated. The GUID identifying the secure element which maybe used to refer to a particular secure element.

Parameters

Major code

Input buffer

None

Input buffer length

None

Output buffer

An SECURE_ELEMENT_ENDPOINT_LIST for each device enumerated.

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_PARAMETER This code is returned when the output buffer is non-zero.
STATUS_BUFFER_OVERFLOW The buffer supplied was too small to receive the routing table configuration.

Remarks

The following are requirements that the driver must adhere to.