Bewerken

Delen via


PFN_SENSORSCXDEVICEINITIALIZE callback function (sensorscx.h)

Initializes the sensor in the class extension.

Syntax

PFN_SENSORSCXDEVICEINITIALIZE PfnSensorscxdeviceinitialize;

NTSTATUS * PfnSensorscxdeviceinitialize(
  PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
  WDFDEVICE FxDevice,
  PSENSOR_CONTROLLER_CONFIG pSensorConfig
)
{...}

Parameters

DriverGlobals

Global definitions for the driver.

FxDevice

A WDFDEVICE handle to the framework device object that represents the sensor.

pSensorConfig

A list of functions that the driver implements.

Return value

Returns NTSTATUS.

Requirements

Requirement Value
Header sensorscx.h