// sensorscx.h
PFN_SENSORSCXDEVICEINITIALIZE PfnSensorscxdeviceinitialize;
NTSTATUS * PfnSensorscxdeviceinitialize(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
WDFDEVICE FxDevice,
PSENSOR_CONTROLLER_CONFIG pSensorConfig
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Initializes the sensor in the class extension.
DriverGlobalsGlobal definitions for the driver.
FxDeviceA WDFDEVICE handle to the framework device object that represents the sensor.
pSensorConfigA list of functions that the driver implements.
Returns NTSTATUS.
//Declaration
*PFN_SENSORSCXDEVICEINITIALIZE *PfnSensorscxdeviceinitialize;
// Definition
NTSTATUS *PfnSensorscxdeviceinitialize
(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals
WDFDEVICE FxDevice
PSENSOR_CONTROLLER_CONFIG pSensorConfig
)
{...}