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.

67 lines
1.7 KiB

  1. // McsMigrationDriver.idl : IDL source for McsMigrationDriver.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (McsMigrationDriver.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "basetsd.h";
  8. [
  9. object,
  10. #ifdef OFA
  11. uuid(C0B2248C-B7CA-49f3-9383-9C6AE32F0846),
  12. #else
  13. uuid(1AA3D2E0-2B15-11D3-8AE5-00A0C9AFE114),
  14. #endif
  15. dual,
  16. helpstring("IPerformMigrationTask Interface"),
  17. pointer_default(unique)
  18. ]
  19. interface IPerformMigrationTask : IDispatch
  20. {
  21. #ifdef _WIN64
  22. [id(1), helpstring("method PerformMigrationTask")] HRESULT PerformMigrationTask(IUnknown * pVarSet,[in] LONG64 hWnd);
  23. #else
  24. [id(1), helpstring("method PerformMigrationTask")] HRESULT PerformMigrationTask(IUnknown * pVarSet,[in] LONG hWnd);
  25. #endif
  26. [id(2), helpstring("method GetTaskDescription")] HRESULT GetTaskDescription(IUnknown * pVarSet,[out] BSTR * pDescription);
  27. [id(3), helpstring("method GetUndoTask")] HRESULT GetUndoTask(IUnknown * pVarSet,[out] IUnknown ** ppVarSetOut);
  28. };
  29. [
  30. #ifdef OFA
  31. uuid(0B30BB2C-FC62-4e15-8F7A-4D5F7E35ABB8),
  32. #else
  33. uuid(7EB212C0-2A77-11D3-8AE4-00A0C9AFE114),
  34. #endif
  35. version(1.0),
  36. helpstring("McsMigrationDriver 1.0 Type Library")
  37. ]
  38. library MCSMIGRATIONDRIVERLib
  39. {
  40. importlib("stdole32.tlb");
  41. importlib("stdole2.tlb");
  42. // IPerformMigrationTask specific errors
  43. typedef enum PerformMigrationTaskErrors
  44. {
  45. MIGRATOR_E_PROCESSES_STILL_RUNNING = 0x80040200,
  46. }
  47. PerformMigrationTaskErrors;
  48. [
  49. #ifdef OFA
  50. uuid(42064542-10F2-4c2b-B5BF-58BDB63FDFE9),
  51. #else
  52. uuid(1AA3D2E1-2B15-11D3-8AE5-00A0C9AFE114),
  53. #endif
  54. helpstring("Migrator Class")
  55. ]
  56. coclass Migrator
  57. {
  58. [default] interface IPerformMigrationTask;
  59. };
  60. };