CcCopyWriteWontFlush function (ntifs.h)
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
[in] FileObject
Pointer to a file object for the cached file to which the data is to be written.
[in] FileOffset
Pointer to a variable that specifies the starting byte offset within the cached file where the data is to be written.
[in] Length
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
Requirement | Value |
---|---|
Target Platform | Universal |
Header | ntifs.h (include Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |