CLS_WRITE_ENTRY structure (clfs.h)

Contains a user buffer, which is to become part of a log record, and its length. The ReserveAndAppendLog function uses CLFS_WRITE_ENTRY structures in the routine that appends log records to logs. This routine requires the client to specify a set of structures. ReserveAndAppendLog gathers these structures and formats them into a log record in a marshaling buffer, which is eventually flushed to the log.

Syntax

typedef struct _CLS_WRITE_ENTRY {
  PVOID Buffer;
  ULONG ByteLength;
} CLS_WRITE_ENTRY, *PCLS_WRITE_ENTRY, PPCLS_WRITE_ENTRY;

Members

Buffer

The log record data buffer.

ByteLength

The length of the log record data buffer, in bytes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Header clfs.h (include Clfsw32.h)

See also

ReserveAndAppendLog