Source code of Windows XP (NT5)
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
2.2 KiB

  1. // Project.idl : IDL source for Project.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (Project.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(A77E6E1A-7D16-4B05-8436-D2A82921165F),
  10. dual,
  11. helpstring("IProjMgr Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IProjMgr : IDispatch
  15. {
  16. [id(1), helpstring("method GetSettings")] HRESULT GetSettings([in,out]IUnknown ** pSettings);
  17. [id(2), helpstring("method GetSelectedObjects")] HRESULT GetSelectedObjects([in,out] IUnknown ** ppSelectedObjects);
  18. [id(3), helpstring("method OpenProject")] HRESULT OpenProject([in] BSTR sProjName);
  19. [id(4), helpstring("method CreateProject")] HRESULT CreateProject([in] BSTR sProjName, [in] BSTR sDesc);
  20. [id(5), helpstring("method SaveSettings")] HRESULT SaveSettings([in] IUnknown * pSettings);
  21. [id(6), helpstring("method SaveSelectedObjects")] HRESULT SaveSelectedObjects([in] IUnknown * pSelectedObjects);
  22. [id(7), helpstring("method MarkMigratedObjects")] HRESULT MarkMigratedObjects([in] BSTR sSamName);
  23. [id(8), helpstring("method CreateConflictReport")] HRESULT CreateConflictReport([in] BSTR sFileName);
  24. [id(9), helpstring("method CreateDescription")] HRESULT CreateDescription([out] BSTR * sFileName);
  25. [propget, id(10), helpstring("property m_sProjName")] HRESULT m_sProjName([out, retval] BSTR *pVal);
  26. [id(11), helpstring("method DeleteProject")] HRESULT DeleteProject([in] BSTR sProjName);
  27. [id(12), helpstring("method Model")] HRESULT Model([in] IUnknown * pSettings);
  28. [id(13), helpstring("method EditModel")] HRESULT EditModel([in]long lDomVer);
  29. [id(14), helpstring("method GetModelData")] HRESULT GetModelData([in] BSTR sUser, [in,out] IUnknown ** ppData);
  30. [id(15), helpstring("method CleanupActions")] HRESULT CleanupActions();
  31. [id(16), helpstring("method AddAction")] HRESULT AddAction([in] long lActionID);
  32. };
  33. [
  34. uuid(5B909FF1-852C-4A62-8F99-B9B9F6603942),
  35. version(1.0),
  36. helpstring("Project 1.0 Type Library")
  37. ]
  38. library PROJECTLib
  39. {
  40. importlib("stdole32.tlb");
  41. importlib("stdole2.tlb");
  42. [
  43. uuid(B9B70329-CD48-44B9-8AC8-E78F38EE43A3),
  44. helpstring("ProjMgr Class")
  45. ]
  46. coclass ProjMgr
  47. {
  48. [default] interface IProjMgr;
  49. };
  50. };