CcMdlReadComplete routine

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

FileObject [in]

File object pointer that was passed to CcMdlRead.

MdlChain [in]

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

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

CcMdlRead

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft