EVT_SENSOR_DRIVER_DEVICE_IO_CONTROL callback function (sensorscx.h)

Callback to handle IOCTL.

Syntax

EVT_SENSOR_DRIVER_DEVICE_IO_CONTROL EvtSensorDriverDeviceIoControl;

NTSTATUS EvtSensorDriverDeviceIoControl(
  SENSOROBJECT Sensor,
  WDFREQUEST Request,
  size_t OutputBufferLength,
  size_t InputBufferLength,
  ULONG IoControlCode
)
{...}

Parameters

Sensor

A reference to the sensor object.

Request

The I/O request.

OutputBufferLength

The output buffer length.

InputBufferLength

The input buffer length.

IoControlCode

The I/O control code.

Return value

Returns NTSTATUS.

Requirements

Requirement Value
Header sensorscx.h