EVT_SENSOR_DRIVER_GET_SUPPORTED_DATA_FIELDS callback function (sensorscx.h)
This callback function returns a list of data fields supported by the specified sensor. For more information about data fields see Sensor data fields.
Syntax
EVT_SENSOR_DRIVER_GET_SUPPORTED_DATA_FIELDS EvtSensorDriverGetSupportedDataFields;
NTSTATUS EvtSensorDriverGetSupportedDataFields(
[in] SENSOROBJECT Sensor,
[in, out, optional] PSENSOR_PROPERTY_LIST pDataFields,
[out] PULONG pSize
)
{...}
Parameters
[in] Sensor
A reference to a sensor object.
[in, out, optional] pDataFields
A list of data fields that are supported by the given Sensor. For more information see SENSOR_PROPERTY_LIST.
[out] pSize
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | sensorscx.h |
IRQL | requires_same |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for