TxfLogCreateFileReadContext function (txfw32.h)
[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.]
Creates a context to be used to read replication records.
Syntax
BOOL TxfLogCreateFileReadContext(
[in] LPCWSTR LogPath,
[in] CLFS_LSN BeginningLsn,
[in] CLFS_LSN EndingLsn,
[in] PTXF_ID TxfFileId,
[out] PVOID *TxfLogContext
);
Parameters
[in] LogPath
The path that identifies the Resource Manager's .blf file.
[in] BeginningLsn
The first LSN in the range to be read.
[in] EndingLsn
The last LSN in the range to be read.
[in] TxfFileId
The TxF identifier to search for in the LSN range. For more information, see TXF_ID.
[out] TxfLogContext
A pointer to the context created.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | txfw32.h |
Library | TxfW32.lib |
DLL | TxfW32.dll |