Export (0) Print
Expand All

TXF_LOG_RECORD_TRUNCATE structure

[Microsoft strongly recommends developers utilize alternative means to achieve your application’s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows. For more information, and alternatives to TxF, please see Alternatives to using Transactional NTFS.]

Contains the record for a truncate operation.

Syntax


typedef struct _TXF_LOG_RECORD_TRUNCATE {
  USHORT   Version;
  USHORT   RecordType;
  ULONG    RecordLength;
  ULONG    Flags;
  TXF_ID   TxfFileId;
  UUID     KtmGuid;
  LONGLONG NewFileSize;
  ULONG    FileNameLength;
  ULONG    FileNameByteOffsetInStructure;
} TXF_LOG_RECORD_TRUNCATE, *PTXF_LOG_RECORD_TRUNCATE;

Members

Version

The version identifier for the replication record.

RecordType

The record type. This member is set to TXF_LOG_RECORD_TYPE_TRUNCATE.

RecordLength

The length of this record, in bytes.

Flags

Reserved.

TxfFileId

The TxF file identifier for the file associated with this record. For more information, see TXF_ID.

KtmGuid

The KTM transaction GUID for this update.

NewFileSize

The new size of the file, in bytes.

FileNameLength

The length of the file name, in bytes.

FileNameByteOffsetInStructure

The offset of the file name from the beginning of this record.

Requirements

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

TxfW32.h

See also

TXF_ID
TXF_LOG_RECORD_BASE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft