// winbio_ioctl.h
typedef struct _WINBIO_DIAGNOSTICS {
DWORD PayloadSize;
HRESULT WinBioHresult;
WINBIO_SENSOR_STATUS SensorStatus;
WINBIO_DATA VendorDiagnostics;
} WINBIO_DIAGNOSTICS, *PWINBIO_DIAGNOSTICS;
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_BIOMETRIC_GET_SENSOR_STATUS IOCTL returns the WINBIO_DIAGNOSTICS structure as output.
PayloadSizeThe total size of the payload. This includes the fixed length structure and any variable data at the end.
WinBioHresultThe status detail of the I/O operation. This is where WINBIO error and information codes will be passed. The following table shows possible values.
| Status value | Description |
|---|---|
| S_OK | The operation completed successfully. |
| HRESULT_FROM_NT(STATUS_IO_DEVICE_ERROR) | The driver could not gather the necessary information from the device. |
SensorStatusA structure of type WINBIO_SENSOR_STATUS that contains the operating status of the biometric sensor.
VendorDiagnosticsAn optional WINBIO_DATA structure for vendor-specific additional information.
IOCTL_BIOMETRIC_GET_SENSOR_STATUS