Expand Minimize

FsRtlIssueDeviceIoControl routine

The FsRtlIssueDeviceIoControl routine sends a synchronous device I/O control request to a target device object.

Syntax


NTSTATUS FsRtlIssueDeviceIoControl(
  _In_       PDEVICE_OBJECT DeviceObject,
  _In_       ULONG IoCtl,
  _In_       ULONG IrpFlags,
  _In_opt_   ULONG InputBuffer,
  _In_       ULONG InputBufferLength,
  _Out_opt_  ULONG OutputBuffer,
  _In_       ULONG OutputBufferLength,
  _In_       PULONG_PTR IosbInformation
);

Parameters

DeviceObject [in]

The target device object.

IoCtl [in]

The IOCTL control code to issue.

IrpFlags [in]

The desired IRP flags to set for IOCTL request.

InputBuffer [in, optional]

An optional buffer containing the input data for the request.

InputBufferLength [in]

The length, in bytes, of the input data in InputBuffer.

OutputBuffer [out, optional]

An optional caller-supplied output buffer for returned data.

OutputBufferLength [in]

The length, in bytes, of the output data buffer at OutputBuffer.

IosbInformation [in]

A pointer to a ULONG status value to receive the information field value set in the I/O status block at completion of the request.

Return value

FsRtlIssueDeviceIoControl returns STATUS_SUCCESS or an another NTSTATUS value returned in the status block from the I/O operation.

Requirements

Version

Available starting with Windows 8.

Header

Ntifs.h (include Ntifs.h)

IRQL

<= APC_LEVEL

See also

FltDeviceIoControlFile

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft