// gnssdriver.h
// CTL_CODE(0x0022, 0x047, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_LISTEN_NMEA 0x0022011C
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_LISTEN_NMEA control code is used to start listening for NMEA events from the driver.
Set to NULL.
Set to 0.
A pointer to a GNSS_EVENT structure.
Set to sizeof(GNSS_EVENT).
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 EventType must be set to GNSS_Event_NmeaData.
The GNSS adapter does not use this IOCTL.
The driver can complete this call when it has NMEA data to send to the calling client. This calling client will typically be a test tool created by the OEM.
The calling client that wishes to receive NMEA data needs to do the following tasks:
When the driver completes the I/O call, the calling client will need to issue another IOCTL to continue waiting for further NMEA data.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously