PFN_SENSORSCXSENSORDATAREADY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorscx.h

PFN_SENSORSCXSENSORDATAREADY PfnSensorscxsensordataready;

VOID * PfnSensorscxsensordataready(
  PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
  SENSOROBJECT Sensor,
  PSENSOR_COLLECTION_LIST pSensorData
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-sensorscx-pfn_sensorscxsensordataready)

*PFN_SENSORSCXSENSORDATAREADY callback function

Description

Notifies the class extension that the driver has retrieved data.

Parameters

DriverGlobals

Global definitions for the driver.

Sensor

A reference to a sensor object.

pSensorData

Pointer to a list of sensor properties.

Prototype

//Declaration

*PFN_SENSORSCXSENSORDATAREADY *PfnSensorscxsensordataready;

// Definition

VOID *PfnSensorscxsensordataready
(
  PSENSORSCX_DRIVER_GLOBALS DriverGlobals
  SENSOROBJECT Sensor
  PSENSOR_COLLECTION_LIST pSensorData
)
{...}

Return value

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.