// gnssdriver.h
typedef struct {
ULONG Size;
ULONG Version;
GNSS_AGNSS_REQUEST_TYPE InjectionType;
NTSTATUS InjectionStatus;
ULONG InjectionDataSize;
BYTE Unused[512];
union {
GNSS_AGNSS_INJECTTIME Time;
GNSS_AGNSS_INJECTPOSITION Position;
GNSS_AGNSS_INJECTBLOB BlobData;
};
} GNSS_AGNSS_INJECT, *PGNSS_AGNSS_INJECT;
View the official Windows Driver Kit DDI referenceNo description available.
The GNSS_AGNSS_INJECT structure defines the parameters for AGNSS injection.
SizeStructure size.
VersionVersion number.
InjectionTypeIndicates the specific type of AGNSS injection.
Depending on the type, the driver must access the specific data element of the structure. For example, if the type is GNSS_AGNSS_PositionInjection, use the Position element.
InjectionStatusIndicates whether any error was encountered in gathering the needed injection data.
The driver must ignore the injection if this field does not indicate success.
InjectionDataSizeSize of the injection data.
UnusedPadding buffer reserved for future use.
TimeGNSS_AGNSS_INJECTTIME contains the format for AGNSS time injection.
PositionGNSS_AGNSS_INJECTPOSITION contains the format for AGNSS position injection.
BlobDataGNSS_AGNSS_INJECTBLOB contains the format for AGNSS extended ephemeris injection.