Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 |