struttura CLS_WRITE_ENTRY (clfs.h)

Contiene un buffer utente, che deve diventare parte di un record di log e la relativa lunghezza. La funzione ReserveAndAppendLog usa strutture CLFS_WRITE_ENTRY nella routine che aggiunge i record di log ai log. Questa routine richiede al client di specificare un set di strutture. ReserveAndAppendLog raccoglie queste strutture e le formatta in un record di log in un buffer di marshalling, che viene infine scaricato nel log.

Sintassi

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

Members

Buffer

Buffer dei dati dei record di log.

ByteLength

Lunghezza del buffer dei dati dei record di log, in byte.

Requisiti

   
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2003 R2 [solo app desktop]
Intestazione clfs.h (include Clfsw32.h)

Vedi anche

ReserveAndAppendLog