Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

52 lines
1.8 KiB

// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
// Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
// @doc
// @module ILOGWRITE.H | Header for interface <i ILogWrite>.<nl><nl>
// Usage:<nl>
// 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 <objbase.h>
#include "logrec.h" // logmgr general types
// ===============================
// INTERFACE: ILogWrite
// ===============================
// -----------------------------------------------------------------------
// @interface ILogWrite | See also <c CILogWrite>.<nl><nl>
// Description:<nl>
// Provide append functionality<nl><nl>
// Usage:<nl>
// Useless, but for an example.
// -----------------------------------------------------------------------
DECLARE_INTERFACE_ (ILogWrite, IUnknown)
{
// @comm IUnknown methods: See <c CILogWrite>.
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 <c CILogWrite>.
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