EVT_SENSOR_DRIVER_GET_SUPPORTED_DATA_FIELDS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorscx.h

EVT_SENSOR_DRIVER_GET_SUPPORTED_DATA_FIELDS EvtSensorDriverGetSupportedDataFields;

NTSTATUS EvtSensorDriverGetSupportedDataFields(
  [in]                SENSOROBJECT Sensor,
  [in, out, optional] PSENSOR_PROPERTY_LIST pDataFields,
  [out]               PULONG pSize
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-sensorscx-evt_sensor_driver_get_supported_data_fields)

EVT_SENSOR_DRIVER_GET_SUPPORTED_DATA_FIELDS callback function

Description

This callback function returns a list of data fields supported by the specified sensor. For more information about data fields see Sensor data fields.

Parameters

Sensor [in]

A reference to a sensor object.

pDataFields [in, out, optional]

A list of data fields that are supported by the given Sensor. For more information see SENSOR_PROPERTY_LIST.

pSize [out]

The size of pDataFields.

Return value

This function returns STATUS_SUCCESS when completed successfully.

[!NOTE] The class extension (CX) only uses the NT_SUCCESS macro to determine if the call to the driver’s Evt function was successful, but does not take any action if the function failed or does not return STATUS_SUCCESS.

Remarks

This function must be implemented by the driver and is called by the class extension.

See also

SENSOR_PROPERTY_LIST

Sensor data fields