EVT_SENSOR_DRIVER_GET_DATA_FIELD_PROPERTIES - NtDoc

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

EVT_SENSOR_DRIVER_GET_DATA_FIELD_PROPERTIES EvtSensorDriverGetDataFieldProperties;

NTSTATUS EvtSensorDriverGetDataFieldProperties(
  [in]                SENSOROBJECT Sensor,
  [in]                const PROPERTYKEY *pDataField,
  [in, out, optional] PSENSOR_COLLECTION_LIST pProperties,
  [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_data_field_properties)

EVT_SENSOR_DRIVER_GET_DATA_FIELD_PROPERTIES callback function

Description

This callback function returns the properties of a given data field associated with a sensor.

Parameters

Sensor [in]

A reference to a sensor object.

pDataField [in]

A reference to a data field. For more information see Sensor data fields.

pProperties [in, out, optional]

A list of properties and their values for the specified Sensor. For more information see SENSOR_COLLECTION_LIST

pSize [out]

The size of pDataField.

Return value

This function returns STATUS_SUCCESS when completed successfully.

Remarks

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

[!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.

See also

Proximity sensor data fields

SENSOR_COLLECTION_LIST

Sensor data fields