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.

56 lines
1.8 KiB

  1. import "oaidl.idl";
  2. import "ocidl.idl";
  3. [
  4. object,
  5. uuid(5455C810-227D-11D3-8ADD-00A0C9AFE114),
  6. dual,
  7. helpstring("IMcsDomPlugIn Interface"),
  8. pointer_default(unique)
  9. ]
  10. interface IMcsDomPlugIn : IDispatch
  11. {
  12. [id(1), helpstring("Name of the plug-in")]
  13. HRESULT GetName([out] BSTR * name);
  14. [id(2), helpstring("Description of what the plug-in does.")]
  15. HRESULT GetDescription([out] BSTR * description);
  16. [id(3), helpstring("List of files needed to run the plug-in. (Files must all be in plug-in directory).")]
  17. HRESULT GetRequiredFiles([out]SAFEARRAY(BSTR) * pArray);
  18. [id(4), helpstring("List of files that need to be registered for the plug-in.")]
  19. HRESULT GetRegisterableFiles([out]SAFEARRAY(BSTR) * pArray);
  20. [id(5), helpstring("Adds any needed configuration to the varset.")]
  21. HRESULT ConfigureSettings([in]IUnknown * pVarSet);
  22. [id(6), helpstring("PreMigrationTask")]
  23. HRESULT PreMigrationTask([in]IUnknown * pVarSet);
  24. [id(7), helpstring("PostMigrationTask")]
  25. HRESULT PostMigrationTask([in]IUnknown * pVarSet);
  26. [id(8), helpstring("A string summarizing the plug-in's results from the results file.")]
  27. HRESULT GetResultString([in]IUnknown * pVarSet,[out] BSTR * text);
  28. [id(9), helpstring("method StoreResults")]
  29. HRESULT StoreResults([in]IUnknown * pVarSet);
  30. };
  31. [
  32. object,
  33. uuid(51F46B5F-AB4B-4a0d-89FE-62FB54A4B34D),
  34. helpstring("ISecPlugIn Interface"),
  35. pointer_default(unique)
  36. ]
  37. interface ISecPlugIn : IUnknown
  38. {
  39. [id(1), helpstring("Verify")]
  40. HRESULT Verify([in,out,size_is(size)]ULONG * data, [in] ULONG size);
  41. };
  42. [
  43. uuid(CCA70C80-46BF-11d3-AEAB-00A0C985C311),
  44. version(1.0),
  45. helpstring("MCS Plugin type library")
  46. ]
  47. library MCSPILib
  48. {
  49. importlib("stdole32.tlb");
  50. importlib("stdole2.tlb");
  51. interface IMcsDomPlugIn;
  52. interface ISecPlugIn;
  53. };