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.
54 lines
1.8 KiB
54 lines
1.8 KiB
// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
|
|
// -----------------------------------------------------------------------
|
|
// Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
|
|
// @doc
|
|
// @module ILRP.H | Header for interface <i ILogRecordPointer>.<nl><nl>
|
|
// Usage:<nl>
|
|
// Clients of this DLL require this file.
|
|
// @rev 0 | 05/09/95 | rbarnes | Cloned: For LOGMGR.DLL
|
|
// -----------------------------------------------------------------------
|
|
|
|
|
|
#ifndef _ILRP_H
|
|
# define _ILRP_H
|
|
|
|
// ===============================
|
|
// INCLUDES:
|
|
// ===============================
|
|
|
|
|
|
#include <objbase.h>
|
|
|
|
#include "logrec.h" // logmgr general types
|
|
|
|
// ===============================
|
|
// INTERFACE: ILogRecordPointer
|
|
// ===============================
|
|
|
|
|
|
// -----------------------------------------------------------------------
|
|
// @interface ILogRecordPointer | See also <c CILogRecordPointer>.<nl><nl>
|
|
// Description:<nl>
|
|
// Provide LRP functionality<nl><nl>
|
|
// Usage:<nl>
|
|
// Useless, but for an example.
|
|
// -----------------------------------------------------------------------
|
|
|
|
|
|
|
|
DECLARE_INTERFACE_ (ILogRecordPointer, IUnknown)
|
|
{
|
|
// @comm IUnknown methods: See <c CILogRecordPointer>.
|
|
STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
|
|
STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
|
|
STDMETHOD_ (ULONG, Release) (THIS) PURE;
|
|
|
|
// @comm ILogRecordPointer methods: See <c CILogRecordPointer>.
|
|
|
|
virtual DWORD (CompareLRP) (LRP lrpLRP1, LRP lrpLRP2) PURE;
|
|
STDMETHOD (LastPermLRP) (LRP* plrpLRP) PURE;
|
|
STDMETHOD (GetLRPSize) (LRP lrpLRP, DWORD *pcbSize) PURE;
|
|
|
|
};
|
|
|
|
#endif _ILRP_H
|