SensorsCxDeviceInitConfig function (sensorscx.h)

This function configures the sensor device.

Syntax

NTSTATUS SensorsCxDeviceInitConfig(
  [in, out] PWDFDEVICE_INIT        pFxDeviceInit,
  [in, out] PWDF_OBJECT_ATTRIBUTES pFdoAttributes,
  [in]      ULONG                  Flags
);

Parameters

[in, out] pFxDeviceInit

A reference to WDFDEVICE_INIT.

[in, out] pFdoAttributes

A reference to WDF_OBJECT_ATTRIBUTES.

[in] Flags

The flags for the sensor driver. Reserved set to 0.

Return value

This function returns STATUS_SUCCESS when completed successfully. When an invalid parameter is supplied or this function fails, STATUS_INVALID_PARAMETER is returned. This function can also return other NTSTATUS values.

Requirements

Requirement Value
Target Platform Desktop
Header sensorscx.h