PFN_SENSORSCXSENSORCREATE funzione di callback (sensorscx.h)
Crea un'istanza di un sensore nell'estensione della classe .
Sintassi
PFN_SENSORSCXSENSORCREATE PfnSensorscxsensorcreate;
NTSTATUS * PfnSensorscxsensorcreate(
PSENSORSCX_DRIVER_GLOBALS DriverGlobals,
WDFDEVICE FxDevice,
PWDF_OBJECT_ATTRIBUTES pSensorAttributes,
PSENSOROBJECT pSensor
)
{...}
Parametri
DriverGlobals
Definizioni globali per il driver.
FxDevice
Handle WDFDEVICE per l'oggetto dispositivo framework che rappresenta il sensore.
pSensorAttributes
Riferimento agli attributi del sensore, in WDF_OBJECT_ATTRIBUTES.
pSensor
Riferimento a un oggetto sensore.
Valore restituito
Restituisce NTSTATUS.
Fabbisogno
Requisito | Valore |
---|---|
intestazione | sensorscx.h |