IoIsOperationSynchronous - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

BOOLEAN IoIsOperationSynchronous(
  [in] PIRP Irp
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-ioisoperationsynchronous)

IoIsOperationSynchronous function

Description

The IoIsOperationSynchronous routine determines whether a given IRP represents a synchronous or asynchronous I/O request.

Parameters

Irp [in]

Pointer to the IRP for the operation.

Return value

IoIsOperationSynchronous returns TRUE if the operation is synchronous, otherwise FALSE.

Remarks

IoIsOperationSynchronous determines whether a given IRP requests a synchronous or asynchronous I/O operation, according to the following conditions:

IoIsOperationSynchronous also returns TRUE if the IRP contains an IOCTL or FSCTL request with an I/O or file system control code that was defined with METHOD_BUFFERED, even if the file object was opened for asynchronous I/O. Such a request is likely to be made synchronous by the file system, but this is not necessarily true in all cases.

See also

IRP

IoBuildSynchronousFsdRequest

IoCreateFile

IoCreateFileEx

IoCreateFileSpecifyDeviceObjectHint

ZwCreateFile

ZwQueryInformationFile

ZwSetInformationFile