// gnssdriver.h
// CTL_CODE(0x0022, 0x003, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_SEND_DRIVERCOMMAND 0x0022000C
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_SEND_DRIVERCOMMAND control code is used by the GNSS adapter to execute well-defined commands on the driver and also to set driver configuration parameters. Each call specifies a certain command type, and the associated data for the command (if one is applicable) through the GNSS_DRIVERCOMMAND_PARAM structure.
A pointer to a GNSS_DRIVERCOMMAND_PARAM structure.
Set to sizeof(GNSS_DRIVERCOMMAND_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 one of the following NTSTATUS values to indicate the result.
With the exception of a few commands, the GNSS adapter generally ignores any failures encountered in executing a specific command.
If the GNSS driver does not support a specific command, it indicates so. Drivers are not required to support all commands defined in this protocol. The driver should complete the I/O only after finishing executing of the command.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously