This topic has not yet been rated - Rate this topic

FlushLogBuffers function

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


BOOL WINAPI FlushLogBuffers(
  _In_         PVOID pvMarshal,
  _Inout_opt_  LPOVERLAPPED pOverlapped
);

Parameters

pvMarshal [in]

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

pOverlapped [in, out, optional]

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:

ERROR_ACCESS_DENIED
ERROR_INVALID_HANDLE
ERROR_INVALID_PARAMETER
ERROR_IO_DEVICE
ERROR_IO_PENDING

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Clfsw32.h

Library

Clfsw32.lib

DLL

Clfsw32.dll

See also

Common Log File System Functions
FlushLogToLsn
OVERLAPPED

 

 

Send comments about this topic to Microsoft

Build date: 10/16/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.