FsRtlMdlReadCompleteDev function (ntifs.h)

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

Syntax

BOOLEAN FsRtlMdlReadCompleteDev(
  [in]             PFILE_OBJECT   FileObject,
  [in]             PMDL           MdlChain,
  [ in, optional ] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] FileObject

A pointer to the file object.

[in] MdlChain

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

[ in, optional ] DeviceObject

A pointer to a device object on which the file is opened.

Return value

None

Remarks

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

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm)

See also

FsRtlMdlReadDev