// sensorscx.h
EVT_SENSOR_DRIVER_GET_DATA_INTERVAL EvtSensorDriverGetDataInterval;
NTSTATUS EvtSensorDriverGetDataInterval(
[in] SENSOROBJECT Sensor,
[out] PULONG pDataRateMs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
This callback function returns the data interval for a specified sensor.
Sensor [in]A reference to a sensor object.
pDataRateMs [out]The data interval for the specified Sensor.
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.