FsRtlMdlReadCompleteDev routine

The FsRtlMdlReadCompleteDev routine completes the read operation that the FsRtlMdlReadDev routine initiated.

Syntax


BOOLEAN FsRtlMdlReadCompleteDev(
  _In_     PFILE_OBJECT   FileObject,
  _In_     PMDL           MdlChain,
  _In_opt_ PDEVICE_OBJECT DeviceObject
);

Parameters

FileObject [in]

A pointer to the file object.

MdlChain [in]

On return, a pointer to a linked list of one or more MDLs that point to the cached file data.

DeviceObject [in, optional]

The device object for the device that contains the file.

Return value

None

Remarks

The FsRtlMdlReadCompleteDev routine unlocks the pages in cache memory that the FsRtlMdlReadDev routine allocated.

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

PASSIVE_LEVEL

See also

FsRtlMdlReadDev

 

 

Send comments about this topic to Microsoft

Show: