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.

54 lines
1.8 KiB

  1. // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
  2. // -----------------------------------------------------------------------
  3. // Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
  4. // @doc
  5. // @module ILRP.H | Header for interface <i ILogRecordPointer>.<nl><nl>
  6. // Usage:<nl>
  7. // Clients of this DLL require this file.
  8. // @rev 0 | 05/09/95 | rbarnes | Cloned: For LOGMGR.DLL
  9. // -----------------------------------------------------------------------
  10. #ifndef _ILRP_H
  11. # define _ILRP_H
  12. // ===============================
  13. // INCLUDES:
  14. // ===============================
  15. #include <objbase.h>
  16. #include "logrec.h" // logmgr general types
  17. // ===============================
  18. // INTERFACE: ILogRecordPointer
  19. // ===============================
  20. // -----------------------------------------------------------------------
  21. // @interface ILogRecordPointer | See also <c CILogRecordPointer>.<nl><nl>
  22. // Description:<nl>
  23. // Provide LRP functionality<nl><nl>
  24. // Usage:<nl>
  25. // Useless, but for an example.
  26. // -----------------------------------------------------------------------
  27. DECLARE_INTERFACE_ (ILogRecordPointer, IUnknown)
  28. {
  29. // @comm IUnknown methods: See <c CILogRecordPointer>.
  30. STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
  31. STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
  32. STDMETHOD_ (ULONG, Release) (THIS) PURE;
  33. // @comm ILogRecordPointer methods: See <c CILogRecordPointer>.
  34. virtual DWORD (CompareLRP) (LRP lrpLRP1, LRP lrpLRP2) PURE;
  35. STDMETHOD (LastPermLRP) (LRP* plrpLRP) PURE;
  36. STDMETHOD (GetLRPSize) (LRP lrpLRP, DWORD *pcbSize) PURE;
  37. };
  38. #endif _ILRP_H