Modifier

Partager via


CcMdlReadComplete function (ntifs.h)

The CcMdlReadComplete routine frees the memory descriptor lists (MDL) created by CcMdlRead for a cached file.

Syntax

void CcMdlReadComplete(
  [in] PFILE_OBJECT FileObject,
  [in] PMDL         MdlChain
);

Parameters

[in] FileObject

File object pointer that was passed to CcMdlRead.

[in] MdlChain

Address of the MDL chain returned by CcMdlRead.

Return value

None

Remarks

CcMdlReadComplete frees the memory descriptor lists (MDL) created by CcMdlRead for a cached file. All physical pages that were locked down are unlocked. Any pages that were mapped are unmapped.

Each call to CcMdlRead must be followed by a call to CcMdlReadComplete.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See also

CcMdlRead