EVT_SENSOR_DRIVER_GET_PROPERTIES callback function (sensorscx.h)
This callback function returns the properties for a given sensor.
Syntax
EVT_SENSOR_DRIVER_GET_PROPERTIES EvtSensorDriverGetProperties;
NTSTATUS EvtSensorDriverGetProperties(
[in] SENSOROBJECT Sensor,
[in, out, optional] PSENSOR_COLLECTION_LIST pProperties,
[out] PULONG pSize
)
{...}
Parameters
[in] Sensor
A reference to a sensor object.
[in, out, optional] pProperties
A list of properties and their values for the specified Sensor. For more information, see SENSOR_COLLECTION_LIST.
[out] pSize
The size of pProperties.
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 |