// gnssdriver.h
typedef struct {
ULONG Size;
ULONG Version;
GNSS_DRIVERCOMMAND_TYPE CommandType;
ULONG Reserved;
ULONG CommandDataSize;
BYTE Unused[512];
BYTE CommandData[ANYSIZE_ARRAY];
} GNSS_DRIVERCOMMAND_PARAM, *PGNSS_DRIVERCOMMAND_PARAM;
View the official Windows Driver Kit DDI referenceNo description available.
The GNSS_DRIVERCOMMAND_PARAM structure is used to send a command to the GNSS driver.
The command may involve configuring certain parameters and state variables of the underlying GNSS driver or device, or executing certain defined actions through the driver.
SizeStructure size.
VersionVersion number.
CommandTypeIdentifies the specific command that the driver is required to execute.
This is a well-defined list of GNSS driver commands, as defined by the GNSS_DRIVERCOMMAND_TYPE enumeration.
ReservedReserved for future use.
CommandDataSizeSize of the configuration data being sent to the driver.
UnusedPadding buffer reserved for future use.
CommandDataData associated with the specific command type.
The driver must cast this buffer to the appropriate data type depending on the specific command.