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.

83 lines
2.3 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. ///////////////////////////////////////////////////////////////////////////////
  6. // Imports
  7. //
  8. import "EventSys.idl";
  9. import "psub.idl";
  10. ///////////////////////////////////////////////////////////////////////////////
  11. // Declarations
  12. //
  13. [
  14. object,
  15. uuid(2F7BF5AA-408A-4248-907A-2FD7D497A703),
  16. helpstring("IVssWriter interface"),
  17. oleautomation,
  18. pointer_default(unique)
  19. ]
  20. interface IVssWriter : IUnknown
  21. {
  22. [helpstring("method ResolveResource")]
  23. HRESULT ResolveResource(
  24. [in] BSTR strAppInstance,
  25. [in] BSTR strResourceName,
  26. [in] BSTR strResourceId,
  27. [in] BSTR strProcessContext,
  28. [in] BSTR strProcessId,
  29. [in] IDispatch* pDependencyCallback
  30. );
  31. [helpstring("method PrepareForSnapshot")]
  32. HRESULT PrepareForSnapshot(
  33. [in] BSTR bstrSnapshotSetId,
  34. [in] BSTR VolumeNamesList,
  35. [in,unique] IDispatch* pDependencyCallback,
  36. [in,unique] IDispatch* pAsyncCallback
  37. );
  38. [helpstring("method Freeze")]
  39. HRESULT Freeze(
  40. [in] BSTR bstrSnapshotSetId,
  41. [in] INT nApplicationLevel
  42. );
  43. [helpstring("method Thaw")]
  44. HRESULT Thaw(
  45. [in] BSTR bstrSnapshotSetId
  46. );
  47. };
  48. ////////////////////////////////////////////////////////////////////////////////
  49. // PSub Type Library
  50. [
  51. uuid(B8B26DEF-0B26-488d-A7A3-2668D2E9E5B2),
  52. version(1.0),
  53. helpstring("PSubLib 1.0 Type Library")
  54. ]
  55. library PSubLib
  56. {
  57. importlib("stdole2.tlb");
  58. [
  59. uuid(621D30C6-EC47-4b66-A91A-D3FA03472FCA),
  60. helpstring("PSub Class")
  61. ]
  62. coclass PSub
  63. {
  64. interface IVssWriter;
  65. };
  66. };