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.

55 lines
1.5 KiB

  1. // EADCTAgent.idl : IDL source for EADCTAgent.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (MCSEADCTAgent.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. #ifdef OFA
  10. uuid(FAAB808F-FEA2-49d8-992E-E2A95E8BFE2B),
  11. #else
  12. uuid(6F295864-B641-11D2-A1DE-00A0C9AFE114),
  13. #endif
  14. dual,
  15. helpstring("IDCTAgent Interface"),
  16. pointer_default(unique)
  17. ]
  18. interface IDCTAgent : IDispatch
  19. {
  20. [id(1), helpstring("method SubmitJob")] HRESULT SubmitJob(IUnknown * pWorkItemIn, [out,retval] BSTR * pJobID);
  21. [id(2), helpstring("method CancelJob")] HRESULT CancelJob(BSTR JobID);
  22. [id(3), helpstring("method QueryJobStatus")] HRESULT QueryJobStatus(BSTR jobID, [out] IUnknown ** statusInfoOut);
  23. [id(4), helpstring("method RetrieveJobResults")] HRESULT RetrieveJobResults(BSTR jobID, [out] IUnknown ** pWorkItemOut);
  24. [id(5), helpstring("method GetJobList")] HRESULT GetJobList([out] IUnknown ** pVarSetOut);
  25. };
  26. [
  27. #ifdef OFA
  28. uuid(CEE8D7B6-45D3-471f-825D-987A03DF652A),
  29. #else
  30. uuid(4D51F751-E6C7-11d2-A1E4-00A0C9AFE114),
  31. #endif
  32. version(1.0),
  33. helpstring("McsEADCTAgent 1.0 Type Library")
  34. ]
  35. library MCSEADCTAGENTLib
  36. {
  37. importlib("stdole32.tlb");
  38. importlib("stdole2.tlb");
  39. [
  40. #ifdef OFA
  41. uuid(FA415363-AF4F-4e10-8022-82E11101E66E),
  42. #else
  43. uuid(6F295865-B641-11D2-A1DE-00A0C9AFE114),
  44. #endif
  45. helpstring("DCTAgent Class")
  46. ]
  47. coclass DCTAgent
  48. {
  49. [default] interface IDCTAgent;
  50. };
  51. };