// gnssdriver.h
// CTL_CODE(0x0022, 0x045, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_EXECUTE_SELFTEST 0x00220114
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_EXECUTE_SELFTEST control code is used by the GNSS manufacturing test application to initiate a self test in the GNSS lower stack.
A pointer to a GNSS_SELFTESTCONFIG structure.
Set to sizeof(GNSS_SELFTESTCONFIG).
A pointer to a GNSS_SELFTESTRESULT structure.
Set to sizeof(GNSS_SELFTESTRESULT).
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
The GNSS test application must wait for a status response from the test, and be resilient to the GNSS driver not responding.
The GNSS driver must fail a new self test session request if there is already a test in progress.
Once the GNSS driver accepts the self test session parameters, validates them and starts the test in the GNSS engine. The GNSS driver completes the I/O request after completing the tests and returning the status to the GNSS test application.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously