Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function initializes the sensor in the class extension.
Syntax
NTSTATUS SensorsCxDeviceInitialize(
[in] WDFDEVICE FxDevice,
[in] PSENSOR_CONTROLLER_CONFIG pSensorConfig
);
Parameters
[in] FxDevice
A WDFDEVICE handle to the framework device object that represents the sensor.
[in] pSensorConfig
A list of functions that the driver implements. For more information, see SENSOR_CONTROLLER_CONFIG.
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. Other NTSTATUS values can also be returned.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | sensorscx.h |