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.

70 lines
2.7 KiB

  1. /*****************************************************************************\
  2. FILE: msieftp.idl
  3. DESCRIPTION:
  4. This is an IDL file that allows webview to talk to the Ftp Shell Extension.
  5. \*****************************************************************************/
  6. // This file will be processed by the MIDL tool to
  7. // produce the type library (msieftp.tlb) and marshalling code.
  8. import "oaidl.idl";
  9. import "ocidl.idl";
  10. [
  11. uuid(6E8CEDE1-746A-11d1-91F7-006097DF5BD4),
  12. helpstring("MSIEFTP 1.0 Type Library"),
  13. lcid(0x0000),
  14. version(1.0)
  15. ]
  16. library MSIEFTPLib
  17. {
  18. importlib("stdole2.tlb");
  19. [
  20. object,
  21. uuid(21DCE770-ABD0-11d2-A32B-006097DF5BD4),
  22. dual,
  23. hidden,
  24. helpstring("IFtpWebView Interface"),
  25. oleautomation
  26. ]
  27. interface IFtpWebView : IDispatch
  28. {
  29. //Properties
  30. [id(1), propget, helpstring("Get name of the server we are currently connected to."), helpcontext(0x0000)]
  31. HRESULT Server([out, retval] BSTR * pbstr);
  32. [id(2), propget, helpstring("Get the current directory on the server."), helpcontext(0x0000)]
  33. HRESULT Directory([out, retval] BSTR * pbstr);
  34. [id(3), propget, helpstring("Get The currently logged in user."), helpcontext(0x0000)]
  35. HRESULT UserName([out, retval] BSTR * pbstr);
  36. [id(4), propget, helpstring("Get length of the password of the current login."), helpcontext(0x0000)]
  37. HRESULT PasswordLength([out, retval] long * plLength);
  38. [id(5), propget, helpstring("Get The Email Address used for Anonymous Logins."), helpcontext(0x0000)]
  39. HRESULT EmailAddress([out, retval] BSTR * pbstr);
  40. [id(5), propput, helpstring("Set The Email Address used for Anonymous Logins."), helpcontext(0x0000)]
  41. HRESULT EmailAddress([in] BSTR bstr);
  42. [id(6), propget, helpstring("Get The Message of the Day."), helpcontext(0x0000)]
  43. HRESULT CurrentLoginAnonymous([out, retval] VARIANT_BOOL * pfAnonymousLogin);
  44. [id(7), propget, helpstring("Get The Message of the Day."), helpcontext(0x0000)]
  45. HRESULT MessageOfTheDay([out, retval] BSTR * pbstr);
  46. //Methods
  47. [helpstring("Login Anonymously.")]
  48. HRESULT LoginAnonymously(void);
  49. [helpstring("Login with the specified User Name and Password.")]
  50. HRESULT LoginWithPassword([in] BSTR bUserName, [in] BSTR bPassword);
  51. [helpstring("Login with the specified User Name and Password of the current login.")]
  52. HRESULT LoginWithoutPassword([in] BSTR bUserName);
  53. [helpstring("Display FTP Specific help.")]
  54. HRESULT InvokeHelp(void);
  55. };
  56. [
  57. uuid(210DA8A2-7445-11d1-91F7-006097DF5BD4),
  58. helpstring("FtpWebView Class")
  59. ]
  60. coclass FtpWebView
  61. {
  62. [default] interface IFtpWebView;
  63. };
  64. };