// gnssdriver.h
// CTL_CODE(0x0022, 0x001, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_SEND_PLATFORM_CAPABILITY 0x00220004
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_SEND_PLATFORM_CAPABILITY control code is used by the GNSS adapter to communicate the various location-specific platform capabilities. The GNSS driver can use this data in various ways. For example, if the platform does not support injection of assistance data, the GNSS driver can use the mobile operation network to seek such information. The use of the individual capability information is optional and the driver can ignore the platform capability information for its operation.
A pointer to a GNSS_PLATFORM_CAPABILITY structure.
Set to sizeof(GNSS_PLATFORM_CAPABILITY).
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 result.
This is a void fire-and-forget style call to the driver. The GNSS adapter does not do any special error handling even when the call fails.
The driver can record the capability information in state variables and pass on to the engine as needed. The I/O should be completed as soon as the configuration information is copied.
This should be called when the GNSS adapter is initializing the GNSS driver.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously