CcMdlWriteAbort - NtDoc

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

VOID CcMdlWriteAbort(
  [in] PFILE_OBJECT FileObject,
  [in] PMDL         MdlChain
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

CcMdlWriteAbort function

Description

The CcMdlWriteAbort routine frees memory descriptor lists (MDL) created by an earlier call to CcPrepareMdlWrite.

Parameters

FileObject [in]

File object pointer that was passed to CcPrepareMdlWrite.

MdlChain [in]

Address of the MDL chain returned by CcPrepareMdlWrite.

Remarks

File systems call CcMdlWriteAbort to free the memory descriptor lists (MDL) created by an earlier call to CcPrepareMdlWrite for a cached file. All physical pages that were locked down are unlocked. Any pages that were mapped are unmapped.

File systems normally call CcMdlWriteAbort only in cases where, after a successful call to CcPrepareMdlWrite, it is necessary to abort or fail the subsequent MDL write operation.

Unlike CcMdlWriteComplete, CcMdlWriteAbort does not cause any data to be written to the cached file.

See also

CcMdlWriteComplete

CcPrepareMdlWrite