// gnssdriver.h
// CTL_CODE(0x0022, 0x031, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GNSS_LISTEN_ERROR 0x002200C4
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GNSS_LISTEN_ERROR control code is used to start listening for ERROR events from the driver.
Set to NULL.
Set to 0.
A pointer to a GNSS_EVENT structure.
The EventType must be set to GNSS_Event_Error and the ErrorCode, IsRecoverable and ErrorDescription members of ErrorInformation filled in.
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 GNSS adapter ensures that this request is always pending, so that the driver can indicate an error.
When the driver completes the I/O call, the adapter issues another IOCTL to continue waiting for further error notifications.
The driver can complete this call when it wants to report an error condition. The GNSS adapter will use the error data to log telemetry events.
The Error code is in HRESULT format. The driver can create codes using the MAKE_HRESULT macro with codes in FACILITY_ITF.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously