// sensorscx.h
PFN_SENSORSCXSENSORCREATE PfnSensorscxsensorcreate;
NTSTATUS * PfnSensorscxsensorcreate(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
WDFDEVICE FxDevice,
PWDF_OBJECT_ATTRIBUTES pSensorAttributes,
PSENSOROBJECT pSensor
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Creates an instance of a sensor in the class extension.
DriverGlobalsGlobal definitions for the driver.
FxDeviceA WDFDEVICE handle to the framework device object that represents the sensor.
pSensorAttributesA reference to sensor attributes, in WDF_OBJECT_ATTRIBUTES.
pSensorA reference to a sensor object.
Returns NTSTATUS.
//Declaration
*PFN_SENSORSCXSENSORCREATE *PfnSensorscxsensorcreate;
// Definition
NTSTATUS *PfnSensorscxsensorcreate
(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals
WDFDEVICE FxDevice
PWDF_OBJECT_ATTRIBUTES pSensorAttributes
PSENSOROBJECT pSensor
)
{...}