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.

44 lines
1.9 KiB

  1. // AdRot.idl : IDL source for AdRot.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (AdRot.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(090ACFA0-1580-11d1-8AC0-00C0F00910F9),
  10. dual,
  11. helpstring("IAdRotator Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IAdRotator : IDispatch
  15. {
  16. [propget, id(1), helpstring("The Clickable property enables you to specify whether the advertisements are displayed as hyperlinks.")] HRESULT Clickable([out, retval] BOOL *pVal);
  17. [propput, id(1), helpstring("The Clickable property enables you to specify whether the advertisements are displayed as hyperlinks.")] HRESULT Clickable([in] BOOL newVal);
  18. [propget, id(3), helpstring("The Border property enables you to specify whether to display the advertisements with a surrounding border.")] HRESULT Border([out, retval] short *pVal);
  19. [propput, id(3), helpstring("The Border property enables you to specify whether to display the advertisements with a surrounding border.")] HRESULT Border([in] short newVal);
  20. [propget, id(4), helpstring("The TargetFrame property specifies the target frame into which the link should be loaded.")] HRESULT TargetFrame([out, retval] BSTR *pVal);
  21. [propput, id(4), helpstring("The TargetFrame property specifies the target frame into which the link should be loaded.")] HRESULT TargetFrame([in] BSTR newVal);
  22. [propget, id(5), helpstring("The GetAdvertisement method retrieves the next advertisement from the Rotator Schedule file.")] HRESULT GetAdvertisement(BSTR, [out, retval] BSTR *pVal);
  23. };
  24. [
  25. uuid(090ACFA1-1580-11d1-8AC0-00C0F00910F9),
  26. version(1.0),
  27. helpstring("MSWC Advertisement Rotator Object Library")
  28. ]
  29. library AdRotator
  30. {
  31. importlib("stdole2.tlb");
  32. [
  33. uuid(1621F7C0-60AC-11CF-9427-444553540000),
  34. helpstring("AdRotator Class")
  35. ]
  36. coclass AdRotator
  37. {
  38. [default] interface IAdRotator;
  39. };
  40. };