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.

73 lines
2.0 KiB

  1. //=======================================================================
  2. //
  3. // Copyright (c) 2002 Microsoft Corporation. All Rights Reserved.
  4. //
  5. // File: bitscfg.idl
  6. //
  7. // Description:
  8. //
  9. // Interface to the ADSI extension for the BITS IIS server extensions
  10. //
  11. //=======================================================================
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. import "mstask.idl";
  15. //
  16. // =============================
  17. // Marshalled interfaces
  18. // =============================
  19. //
  20. [
  21. uuid(29cfbbf7-09e4-4b97-b0bc-f2287e3d8eb3),
  22. odl,
  23. dual
  24. ]
  25. interface IBITSExtensionSetup : IDispatch
  26. {
  27. [id(1)] HRESULT EnableBITSUploads();
  28. [id(2)] HRESULT DisableBITSUploads();
  29. // Returns the MSTask scheduled task name for this virtual directory
  30. // if one has been created. If one has not been created, NULL is
  31. // returned and the HRESULT is S_FALSE;
  32. [id(3)] HRESULT GetCleanupTaskName( [out,retval] BSTR *pTaskName );
  33. // Returns the MSTask scheduled task for this virtual directory
  34. // if one has been created. If one has not been created, NULL is
  35. // returned and the HRESULT is S_FALSE. Set riid to the UUID of
  36. // the task interface required. See ITaskScheduler::Activate for details.
  37. [id(4)] HRESULT GetCleanupTask( [in] REFIID riid, [out,retval] IUnknown **ppUnk );
  38. }
  39. [
  40. uuid(d5d2d542-5503-4e64-8b48-72ef91a32ee1),
  41. odl,
  42. dual
  43. ]
  44. interface IBITSExtensionSetupFactory : IDispatch
  45. {
  46. [id(1)] HRESULT GetObject( [ in ] BSTR Path, [out,retval] IBITSExtensionSetup **ppExtensionSetup );
  47. }
  48. [
  49. uuid(B0937B9C-D66D-4d9b-B741-49C6D66A1CD5),
  50. helpstring("Microsoft BITS Server Extensions Setup 1.0"),
  51. version(1.0)
  52. ]
  53. library BITSExtensionSetup
  54. {
  55. [
  56. uuid(efbbab68-7286-4783-94bf-9461d8b7e7e9),
  57. helpstring("BITS Server Extensions Setup Factory")
  58. ]
  59. coclass BITSExtensionSetupFactory
  60. {
  61. [default] interface IBITSExtensionSetupFactory;
  62. };
  63. }