// gnssdriver.h
// CTL_CODE(0x0022, 0x012, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_STOP_FIXSESSION 0x00220048
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_STOP_FIXSESSION control code is used by the GNSS adapter to stop an active fix session.
A pointer to a GNSS_STOPFIXSESSION_PARAM structure.
Set to sizeof(GNSS_STOPFIXSESSION_PARAM).
Set to NULL.
Set to 0.
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 driver sets an NTSTATUS value to indicate one of the following results.
The GNSS adapter always issues a stop fix for every successful start fix. If multi-session support is not present, the GNSS adapter stops any active fix session of the same type before issuing a new start fix request.
The GNSS driver must cancel/stop all pending fix requests and then complete the I/O so that when this call returns, the adapter does not receive any fix data pertaining to the stopped session.
If no other fix sessions are active, the GNSS driver should keep the GNSS engine in a cold state.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously