// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved. // ----------------------------------------------------------------------- // Microsoft Distributed Transaction Coordinator (Microsoft Confidential) // @doc // @module ILOGWRTA.H | Header for interface . // Usage: // Clients of this DLL require this file. // @rev 0 | 06/02/95 | rbarnes | Cloned: For LOGMGR.DLL // ----------------------------------------------------------------------- #ifndef _ILGWRTA_H # define _ILGWRTA_H // =============================== // INCLUDES: // =============================== #include #include "logrec.h" // logmgr general types class CAsynchSupport; //forward class declaration // =============================== // INTERFACE: ILogWriteAsynch // =============================== // TODO: In the interface comments, update the description. // TODO: In the interface comments, update the usage. // ----------------------------------------------------------------------- // @interface ILogWriteAsynch | See also . // Description: // Provide append functionality // Usage: // Useless, but for an example. // ----------------------------------------------------------------------- DECLARE_INTERFACE_ (ILogWriteAsynch, 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 ILogWriteAsynch methods: See . STDMETHOD (Init) (ULONG cbMaxOutstandingWrites) PURE; STDMETHOD (AppendAsynch) (LOGREC* lgrLogRecord, LRP* plrpLRP, CAsynchSupport* pCAsynchSupport,BOOL fFlushHint,ULONG* pulAvailableSpace) PURE; STDMETHOD (SetCheckpoint) (LRP lrpLatestCheckpoint,CAsynchSupport* pCAsynchSupport, LRP* plrpCheckpointLogged) PURE; }; #endif _ILGWRTA_H