// sensorscx.h
PFN_SENSORSCXSENSORDATAREADY PfnSensorscxsensordataready;
VOID * PfnSensorscxsensordataready(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
SENSOROBJECT Sensor,
PSENSOR_COLLECTION_LIST pSensorData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Notifies the class extension that the driver has retrieved data.
DriverGlobalsGlobal definitions for the driver.
SensorA reference to a sensor object.
pSensorDataPointer to a list of sensor properties.
//Declaration
*PFN_SENSORSCXSENSORDATAREADY *PfnSensorscxsensordataready;
// Definition
VOID *PfnSensorscxsensordataready
(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals
SENSOROBJECT Sensor
PSENSOR_COLLECTION_LIST pSensorData
)
{...}
This function returns an NTSTATUS with different values. Some values that may be returned are:
[!NOTE] Any client that calls SensorsCxSensorDataReady must make sure that SensorsCxSensorDataReady is started, before the call is made. Calling SensorsCxSensorDataReady before it is started can cause the sensor class extension to become unresponsive.