IOCTL_NFCRM_QUERY_RADIO_STATE IOCTL (nfcradiodev.h)

This IOCTL is used by the radio management application or service to query the current radio power state of the proximity device.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

None

Input buffer length

None

Output buffer

NFCRM_RADIO_STATE structure

Output buffer length

sizeof(NFCRM_RADIO_STATE)

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful.

Remarks

The STATUS_INVALID_PARAMETER return code is no longer required. A bug was discovered in Windows 10 build 10240, that Windows would send a non-null input parameter with this IOCTL. This bug was fixed in later versions of Windows. To simplify code, drivers can ignore the input parameters in all versions of Windows 10.

Requirements

Requirement Value
Header nfcradiodev.h