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.

71 lines
1.7 KiB

  1. // Dispatcher.idl : IDL source for Dispatcher.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (Dispatcher.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. import "workNI.idl";
  8. [
  9. object,
  10. #ifdef OFA
  11. uuid(242E5D88-8183-443c-9E27-16C64057B8C5),
  12. #else
  13. uuid(59C98121-C29C-11D2-A1E0-00A0C9AFE114),
  14. #endif
  15. dual,
  16. helpstring("IDCTDispatcher Interface"),
  17. pointer_default(unique)
  18. ]
  19. interface IDCTDispatcher : IDispatch
  20. {
  21. [id(1), helpstring("method DispatchToServers")] HRESULT DispatchToServers([in,out]IUnknown ** ppWorkItem);
  22. [id(2), helpstring("method AllAgentsStarted")] HRESULT AllAgentsStarted([out]long* bAllAgentsStarted);
  23. [id(3), helpstring("method GetStartedAgentsInfo")] HRESULT GetStartedAgentsInfo([out]long* nNumFailedStartAgents, [out]SAFEARRAY(BSTR) *ppbstrStartedAgents, [out]SAFEARRAY(BSTR) *ppbstrJobidAgents, [out]SAFEARRAY(BSTR) *ppbstrStartFailedAgents, [out]SAFEARRAY(BSTR) *ppbstrFailureDesc);
  24. };
  25. [
  26. #ifdef OFA
  27. uuid(ED268F73-C7A5-467d-BC3C-2034781A3CB0),
  28. #else
  29. uuid(4D51F752-E6C7-11d2-A1E4-00A0C9AFE114),
  30. #endif
  31. version(1.0),
  32. helpstring("Dispatcher 1.0 Type Library")
  33. ]
  34. library MCSDISPATCHERLib
  35. {
  36. importlib("stdole32.tlb");
  37. importlib("stdole2.tlb");
  38. [
  39. #ifdef OFA
  40. uuid(041A4E2E-A52C-4791-A550-78120E014081),
  41. #else
  42. uuid(59C98122-C29C-11D2-A1E0-00A0C9AFE114),
  43. #endif
  44. helpstring("DCTDispatcher Class")
  45. ]
  46. coclass DCTDispatcher
  47. {
  48. [default] interface IDCTDispatcher;
  49. interface IWorkNode;
  50. };
  51. [
  52. #ifdef OFA
  53. uuid(B6F9F4EE-3E37-4f07-878F-CABA0EEB6298),
  54. #else
  55. uuid(59C98124-C29C-11D2-A1E0-00A0C9AFE114),
  56. #endif
  57. helpstring("DCTInstaller Class")
  58. ]
  59. coclass DCTInstaller
  60. {
  61. [default] interface IWorkNode;
  62. };
  63. };