// sensorscx.h
EVT_SENSOR_DRIVER_DEVICE_IO_CONTROL EvtSensorDriverDeviceIoControl;
NTSTATUS EvtSensorDriverDeviceIoControl(
SENSOROBJECT Sensor,
WDFREQUEST Request,
size_t OutputBufferLength,
size_t InputBufferLength,
ULONG IoControlCode
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Callback to handle IOCTL.
SensorA reference to the sensor object.
RequestThe I/O request.
OutputBufferLengthThe output buffer length.
InputBufferLengthThe input buffer length.
IoControlCodeThe I/O control code.
Returns NTSTATUS.
//Declaration
EVT_SENSOR_DRIVER_DEVICE_IO_CONTROL EvtSensorDriverDeviceIoControl;
// Definition
NTSTATUS EvtSensorDriverDeviceIoControl
(
SENSOROBJECT Sensor
WDFREQUEST Request
size_t OutputBufferLength
size_t InputBufferLength
ULONG IoControlCode
)
{...}