PFN_SENSORSCXSENSORINITIALIZE回调函数 (sensorscx.h)

设置传感器的枚举属性。

语法

PFN_SENSORSCXSENSORINITIALIZE PfnSensorscxsensorinitialize;

NTSTATUS * PfnSensorscxsensorinitialize(
  PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
  SENSOROBJECT Sensor,
  PSENSOR_CONFIG pSensorConfig
)
{...}

参数

DriverGlobals

驱动程序的全局定义。

Sensor

对传感器对象的引用。

pSensorConfig

驱动程序实现的函数列表。

返回值

返回 NTSTATUS。

要求

要求
Header sensorscx.h