Leaked source code of windows server 2003
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.

57 lines
1.8 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. [id(6), helpstring("method SignalOKToShutDown")] HRESULT SignalOKToShutDown();
  26. [id(7), helpstring("method SetAutoShutDown")] HRESULT SetAutoShutDown([in] unsigned long dwTimeout);
  27. };
  28. [
  29. #ifdef OFA
  30. uuid(CEE8D7B6-45D3-471f-825D-987A03DF652A),
  31. #else
  32. uuid(4D51F751-E6C7-11d2-A1E4-00A0C9AFE114),
  33. #endif
  34. version(1.0),
  35. helpstring("McsEADCTAgent 1.0 Type Library")
  36. ]
  37. library MCSEADCTAGENTLib
  38. {
  39. importlib("stdole32.tlb");
  40. importlib("stdole2.tlb");
  41. [
  42. #ifdef OFA
  43. uuid(FA415363-AF4F-4e10-8022-82E11101E66E),
  44. #else
  45. uuid(6F295865-B641-11D2-A1DE-00A0C9AFE114),
  46. #endif
  47. helpstring("DCTAgent Class")
  48. ]
  49. coclass DCTAgent
  50. {
  51. [default] interface IDCTAgent;
  52. };
  53. };