CcCopyWriteWontFlush

CcCopyWriteWontFlush function

The CcCopyWriteWontFlush macro determines whether the amount of data to be copied in a call to CcCopyWrite is small enough not to require immediate flushing to disk if CcCopyWrite is called with Wait set to FALSE.

Syntax


BOOLEAN CcCopyWriteWontFlush(
  _In_ PFILE_OBJECT   FileObject,
  _In_ PLARGE_INTEGER FileOffset,
  _In_ ULONG          Length
);

Parameters

FileObject [in]

Pointer to a file object for the cached file to which the data is to be written.

FileOffset [in]

Pointer to a variable that specifies the starting byte offset within the cached file where the data is to be written.

Length [in]

Length in bytes of the data to be copied.

Return value

CcCopyWriteWontFlush returns TRUE if the amount of data to be copied in a call to CcCopyWrite is small enough not to require immediate flushing to disk, FALSE otherwise.

Requirements

Target platform

Universal

Header

Ntifs.h (include Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

See also

CcCanIWrite
CcCopyWrite
CcDeferWrite

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft