/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000 Microsoft Corporation // /////////////////////////////////////////////////////////////////////////////// // Imports // import "EventSys.idl"; import "psub.idl"; /////////////////////////////////////////////////////////////////////////////// // Declarations // [ object, uuid(2F7BF5AA-408A-4248-907A-2FD7D497A703), helpstring("IVssWriter interface"), oleautomation, pointer_default(unique) ] interface IVssWriter : IUnknown { [helpstring("method ResolveResource")] HRESULT ResolveResource( [in] BSTR strAppInstance, [in] BSTR strResourceName, [in] BSTR strResourceId, [in] BSTR strProcessContext, [in] BSTR strProcessId, [in] IDispatch* pDependencyCallback ); [helpstring("method PrepareForSnapshot")] HRESULT PrepareForSnapshot( [in] BSTR bstrSnapshotSetId, [in] BSTR VolumeNamesList, [in,unique] IDispatch* pDependencyCallback, [in,unique] IDispatch* pAsyncCallback ); [helpstring("method Freeze")] HRESULT Freeze( [in] BSTR bstrSnapshotSetId, [in] INT nApplicationLevel ); [helpstring("method Thaw")] HRESULT Thaw( [in] BSTR bstrSnapshotSetId ); }; //////////////////////////////////////////////////////////////////////////////// // PSub Type Library [ uuid(B8B26DEF-0B26-488d-A7A3-2668D2E9E5B2), version(1.0), helpstring("PSubLib 1.0 Type Library") ] library PSubLib { importlib("stdole2.tlb"); [ uuid(621D30C6-EC47-4b66-A91A-D3FA03472FCA), helpstring("PSub Class") ] coclass PSub { interface IVssWriter; }; };