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.

87 lines
3.1 KiB

  1. // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
  2. // -----------------------------------------------------------------------
  3. // Microsoft Distributed Transaction Coordinator (Microsoft Confidential)
  4. // @doc
  5. // @module ILogCreateStorage.H | Header for interface <i ILogCreateStorage>.<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 _ILGCREA_H
  11. # define _ILGCREA_H
  12. // ===============================
  13. // INCLUDES:
  14. // ===============================
  15. #include <objbase.h>
  16. #include "logconst.h"
  17. // ===============================
  18. // INTERFACE: ILogCreateStorage
  19. // ===============================
  20. #define ILogCreateStorage ILogCreateStorage2A
  21. #ifdef _UNICODE
  22. #define ILogCreateStorage2 ILogCreateStorage2W
  23. #else
  24. #define ILogCreateStorage2 ILogCreateStorage2A
  25. #endif
  26. // -----------------------------------------------------------------------
  27. // @interface ILogCreateStorage | See also <c CILogCreateStorage>.<nl><nl>
  28. // Description:<nl>
  29. // Provide append functionality<nl><nl>
  30. // Usage:<nl>
  31. // Useless, but for an example.
  32. // -----------------------------------------------------------------------
  33. DECLARE_INTERFACE_ (ILogCreateStorage2A, IUnknown)
  34. {
  35. // @comm IUnknown methods: See <c CILogCreateStorage>.
  36. STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
  37. STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
  38. STDMETHOD_ (ULONG, Release) (THIS) PURE;
  39. // @comm ILogCreateStorage methods: See <c CILogCreateStorage>.
  40. STDMETHOD (CreateStorage) (LPSTR ptstrFullFileSpec,ULONG ulLogSize, ULONG ulInitSig, BOOL fOverWrite, UINT uiTimerInterval,UINT uiFlushInterval,UINT uiChkPtInterval) PURE;
  41. STDMETHOD (CreateStream) (LPSTR lpszStreamName) PURE;
  42. };
  43. // ===============================
  44. // INTERFACE: ILogCreateStorageW
  45. // ===============================
  46. // -----------------------------------------------------------------------
  47. // @interface ILogCreateStorageW | See also <c CILogCreateStorage>.<nl><nl>
  48. // Description:<nl>
  49. // Provide append functionality<nl><nl>
  50. // Usage:<nl>
  51. // Useless, but for an example.
  52. // -----------------------------------------------------------------------
  53. DECLARE_INTERFACE_ (ILogCreateStorage2W, IUnknown)
  54. {
  55. // @comm IUnknown methods: See <c CILogCreateStorage>.
  56. STDMETHOD (QueryInterface) (THIS_ REFIID i_riid, LPVOID FAR* o_ppv) PURE;
  57. STDMETHOD_ (ULONG, AddRef) (THIS) PURE;
  58. STDMETHOD_ (ULONG, Release) (THIS) PURE;
  59. // @comm ILogCreateStorage methods: See <c CILogCreateStorage>.
  60. STDMETHOD (CreateStorage) (LPWSTR ptstrFullFileSpec,ULONG ulLogSize, ULONG ulInitSig, BOOL fOverWrite, UINT uiTimerInterval,UINT uiFlushInterval,UINT uiChkPtInterval) PURE;
  61. STDMETHOD (CreateStream) (LPWSTR lpszStreamName) PURE;
  62. };
  63. #endif _ILGCREA_H