// sensorscx.h
EVT_SENSOR_DRIVER_SET_DATA_INTERVAL EvtSensorDriverSetDataInterval;
NTSTATUS EvtSensorDriverSetDataInterval(
[in] SENSOROBJECT Sensor,
[in] ULONG DataRateMs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
This callback function sets the data interval for a specified sensor.
Sensor [in]A reference to a sensor object.
DataRateMs [in]The data interval to set for the 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.
This function must be implemented by the driver and is called by the class extension.