Skip to content

Latest commit

 

History

History
104 lines (70 loc) · 3.77 KB

ni-gnssdriver-ioctl_gnss_get_device_capability.md

File metadata and controls

104 lines (70 loc) · 3.77 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NI:gnssdriver.IOCTL_GNSS_GET_DEVICE_CAPABILITY
IOCTL_GNSS_GET_DEVICE_CAPABILITY (gnssdriver.h)
The IOCTL_GNSS_GET_DEVICE_CAPABILITY control code is used by the GNSS adapter to get the GNSS driver and device capabilities.
gnss\ioctl_gnss_get_device_capability.htm
gnss
02/15/2018
IOCTL_GNSS_GET_DEVICE_CAPABILITY IOCTL
IOCTL_GNSS_GET_DEVICE_CAPABILITY, IOCTL_GNSS_GET_DEVICE_CAPABILITY control, IOCTL_GNSS_GET_DEVICE_CAPABILITY control code [Sensor Devices], gnss.ioctl_gnss_get_device_capability, gnssdriver/IOCTL_GNSS_GET_DEVICE_CAPABILITY
gnssdriver.h
Windows
Windows
IOCTL_GNSS_GET_DEVICE_CAPABILITY
gnssdriver/IOCTL_GNSS_GET_DEVICE_CAPABILITY
APIRef
kbSyntax
HeaderDef
gnssdriver.h
IOCTL_GNSS_GET_DEVICE_CAPABILITY

IOCTL_GNSS_GET_DEVICE_CAPABILITY IOCTL

-description

The IOCTL_GNSS_GET_DEVICE_CAPABILITY control code is used by the GNSS adapter to get the GNSS driver and device capabilities. The GNSS driver also specifies various support requirements from the HLOS components. This information is needed by the GNSS driver as well as the location service for deferring location-specific functionality to the GNSS device.

-ioctlparameters

-ioctl-major-code

-input-buffer

Set to NULL.

-input-buffer-length

Set to 0.

-output-buffer

Pointer to a GNSS_DEVICE_CAPABILITY structure.

-output-buffer-length

Set to sizeof(GNSS_DEVICE_CAPABILITY).

-in-out-buffer

-inout-buffer-length

-status-block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

-remarks

GNSS adapter notes

On completion, the GNSS adapter stores the capability information in its state variables and communicates the same to other location components. Depending on the specific device capabilities and/or support requirements, the GNSS adapter can also load/unload other components to provide the needed support.

GNSS driver notes

Driver fills the output buffer and completes the I/O.

This should be called when the GNSS adapter is initializing the GNSS driver.

Even if the driver supports a specific functionality or needs a specific functionality support from the HLOS, it is not guaranteed that the HLOS will leverage a specific driver capability, or will provided the needed level of support to the driver.

-see-also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously