FlushLogBuffers function (clfsw32.h)

Forces all records appended to this marshaling area to be flushed to disk. This service is a special case of FlushLogToLsn with the target log sequence number (LSN) set to CLFS_LSN_NULL.

Syntax

CLFSUSER_API BOOL FlushLogBuffers(
  [in]                PVOID        pvMarshal,
  [in, out, optional] LPOVERLAPPED pOverlapped
);

Parameters

[in] pvMarshal

A pointer to the marshaling context that is allocated by using the CreateLogMarshallingArea function.

[in, out, optional] pOverlapped

A pointer to an OVERLAPPED structure that is required for asynchronous operation.

This parameter can be NULL if asynchronous operation is not used.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero (0). To get extended error information, call GetLastError. The following list identifies the possible error codes:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Target Platform Windows
Header clfsw32.h
Library Clfsw32.lib
DLL Clfsw32.dll

See also

Common Log File System Functions

FlushLogToLsn

OVERLAPPED