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.

82 lines
2.8 KiB

  1. // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
  2. // -----------------------------------------------------------------------
  3. // Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
  4. // @doc
  5. // @module ILogInit.H | Header for interface <i ILogInit>.<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 _ILGINIT_H
  11. # define _ILGINIT_H
  12. // ===============================
  13. // INCLUDES:
  14. // ===============================
  15. #include <objbase.h>
  16. #define ILogInit ILogInit2A
  17. #ifdef _UNICODE
  18. #define ILogInit2 ILogInit2W
  19. #else
  20. #define ILogInit2 ILogInit2A
  21. #endif
  22. // ===============================
  23. // INTERFACE: ILogInit
  24. // ===============================
  25. // TODO: In the interface comments, update the description.
  26. // TODO: In the interface comments, update the usage.
  27. // -----------------------------------------------------------------------
  28. // @interface ILogInit | See also <c CILogInit>.<nl><nl>
  29. // Description:<nl>
  30. // Provide append functionality<nl><nl>
  31. // Usage:<nl>
  32. // Useless, but for an example.
  33. // -----------------------------------------------------------------------
  34. DECLARE_INTERFACE_ (ILogInit2A, IUnknown)
  35. {
  36. // @comm IUnknown methods: See <c CILogInit>.
  37. STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
  38. STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
  39. STDMETHOD_ (ULONG, Release) (THIS) PURE;
  40. // @comm ILogInit methods: See <c CILogInit>.
  41. STDMETHOD (Init) (ULONG *pulStorageCapacity,ULONG *pulLogSpaceAvailable,LPSTR ptstrFullFileSpec,ULONG ulInitSig, BOOL fFixedSize, UINT uiTimerInterval,UINT uiFlushInterval,UINT uiChkPtInterval,UINT uiLogBuffers) PURE;
  42. };
  43. // -----------------------------------------------------------------------
  44. // @interface ILogInitW | See also <c CILogInit>.<nl><nl>
  45. // Description:<nl>
  46. // Provide append functionality<nl><nl>
  47. // Usage:<nl>
  48. // Useless, but for an example.
  49. // -----------------------------------------------------------------------
  50. DECLARE_INTERFACE_ (ILogInit2W, IUnknown)
  51. {
  52. // @comm IUnknown methods: See <c CILogInit>.
  53. STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
  54. STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
  55. STDMETHOD_ (ULONG, Release) (THIS) PURE;
  56. // @comm ILogInit methods: See <c CILogInit>.
  57. STDMETHOD (Init) (ULONG *pulStorageCapacity,ULONG *pulLogSpaceAvailable,LPWSTR ptstrFullFileSpec,ULONG ulInitSig, BOOL fFixedSize, UINT uiTimerInterval,UINT uiFlushInterval,UINT uiChkPtInterval,UINT uiLogBuffers) PURE;
  58. };
  59. #endif _ILGINIT_H