RECORD_HEADER structure

[This information applies only to Windows XP with Service Pack 2 (SP2).]

The record header used by the CHANGE_LOG_ENTRY and CHANGE_LOG_HEADER structures.

Syntax

typedef struct _RECORD_HEADER {
  DWORD dwRecordSize;
  DWORD dwRecordType;
} RECORD_HEADER, *PRECORD_HEADER;

Members

dwRecordSize

The total size of the record, including the header, in bytes.

dwRecordType

The record type. This member may be one of the following values.

Value Meaning
RecordTypeLogHeader
0
The record is the header for the change log.
RecordTypeLogEntry
1
The record is the header for a change log entry.
RecordTypeVolumePath
2
The data is the volume path for the change log entry.
RecordTypeFirstPath
3
The data is the file path for the change log entry.
RecordTypeSecondPath
4
The data is used when renaming change log entries; this path is where the renamed file is stored.
RecordTypeTempPath
5
The data is the name of the backup file used to restore the change log entry. The backup files are located in the RPn folder. The file name has the following format: Axxxxxxx.ext, where xxxxxxx is a seven-digit number and ext is the file name extension.
RecordTypeAclInline
6
The data is an ACL. The data format is a SECURITY_DESCRIPTOR structure.
This value cannot be larger than 8,192 bytes. To specify a value larger than 8,192 bytes, use the RecordTypeAclFile member.
RecordTypeAclFile
7
The data is the name of the ACL file used to store the ACL. The ACL files are located in the RPn folder. The file name has the following format: Sxxxxxxx.acl, where xxxxxxx is a seven-digit number.
RecordTypeDebugInfo
8
The data is debug information for the change log entry. The data format is a SR_LOG_DEBUG_INFO structure. For more information, see Remarks.
RecordTypeShortName
9
The data is the short name of the backup file.

Remarks

The SR_LOG_DEBUG_INFO structure is defined as follows.

typedef struct _SR_LOG_DEBUG_INFO {
    RECORD_HEADER Header;         // log entry header
    HANDLE ThreadId;              // thread identifier
    HANDLE ProcessId;             // process identifier
    ULARGER_INTEGER TimeStamp;    // event time stamp
    CHAR ProcesName[13];          // process name
} SR_LOG_DEBUG_INFO, *PSR_LOG_DEBUG_INFO;

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows XP with SP2