TXF_LOG_RECORD_WRITE 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.]
Applies to: desktop apps only
Contains the record for a write operation.
Syntax
typedef struct _TXF_LOG_RECORD_WRITE {
USHORT Version;
USHORT RecordType;
ULONG RecordLength;
ULONG Flags;
TXF_ID TxfFileId;
UUID KtmGuid;
LONGLONG ByteOffsetInFile;
ULONG NumBytesWritten;
ULONG ByteOffsetInStructure;
ULONG FileNameLength;
ULONG FileNameByteOffsetInStructure;
} TXF_LOG_RECORD_WRITE, *PTXF_LOG_RECORD_WRITE;
Members
- Version
-
The version identifier for the replication record.
- RecordType
-
The record type. This member is set to TXF_LOG_RECORD_TYPE_WRITE.
- 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.
- ByteOffsetInFile
-
The starting location of the write operation, as an offset from the beginning of the file.
- NumBytesWritten
-
The number of bytes written.
- ByteOffsetInStructure
-
The offset of the data (bytes written) from the beginning of this record.
- FileNameLength
-
The length of the file name, in bytes.
- FileNameByteOffsetInStructure
-
The offset of the file name from the beginning of this record.
Remarks
If the write operation goes beyond the end of the file, the file is being extended.
Requirements
|
Minimum supported client | Windows Vista with SP1 |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 4/17/2012