TxfLogDestroyReadContext 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.]

Closes a read context created by the TxfLogCreateFileReadContext function.


BOOL TxfLogDestroyReadContext(
  [in] PVOID TxfLogContext


[in] TxfLogContext

A pointer to the context.

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.


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

See also