// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- // Microsoft Distributed Transaction Coordinator (Microsoft Confidential) // @doc // @module ILOGWRITE.H | Header for interface . // Usage: // Clients of this DLL require this file. // @rev 0 | 05/09/95 | rbarnes | Cloned: For LOGMGR.DLL // ----------------------------------------------------------------------- #ifndef _ILGWRITE_H # define _ILGWRITE_H // =============================== // INCLUDES: // =============================== #include #include "logrec.h" // logmgr general types // =============================== // INTERFACE: ILogWrite // =============================== // ----------------------------------------------------------------------- // @interface ILogWrite | See also . // Description: // Provide append functionality // Usage: // Useless, but for an example. // ----------------------------------------------------------------------- DECLARE_INTERFACE_ (ILogWrite, IUnknown) { // @comm IUnknown methods: See . STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE; STDMETHOD_ (ULONG, AddRef) (THIS) PURE; STDMETHOD_ (ULONG, Release) (THIS) PURE; // @comm ILogWrite methods: See . STDMETHOD (Append) (LOGREC* rgLogRecords, ULONG cbNumRecs, LRP *rgLRP,ULONG* pcbNumRecs,LRP* pLRPLastPerm, BOOL fFlushNow,ULONG* pulAvailableSpace) PURE; STDMETHOD (SetCheckpoint) (LRP lrpLatestCheckpoint) PURE; }; #endif _ILGWRITE_H