TxfLogCreateFileReadContext function

[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 WINAPI TxfLogCreateFileReadContext(
  _In_   LPCWSTR LogPath,
  _In_   CLFS_LSN BeginningLsn,
  _In_   CLFS_LSN EndingLSN,
  _In_   PTXF_ID TxfFileId,
  _Out_  PVOID *TxfLogContext
);

Parameters

LogPath [in]

The path that identifies the Resource Manager's .blf file.

BeginningLsn [in]

The first LSN in the range to be read.

EndingLSN [in]

The last LSN in the range to be read.

TxfFileId [in]

The TxF identifier to search for in the LSN range. For more information, see TXF_ID.

TxfLogContext [out]

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

Minimum supported client

Windows Vista with SP1 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

TxfW32.h

Library

TxfW32.lib

DLL

TxfW32.dll

See also

TXF_ID
TxfLogDestroyReadContext

 

 

Community Additions

ADD
Show:
© 2014 Microsoft