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.

62 lines
2.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright 1995-2000 Microsoft Corporation. All Rights Reserved.
  5. //
  6. //--------------------------------------------------------------------------
  7. cpp_quote("//=--------------------------------------------------------------------------=")
  8. cpp_quote("// downloadmgr.h")
  9. cpp_quote("//=--------------------------------------------------------------------------=")
  10. cpp_quote("// (C) Copyright 2000 Microsoft Corporation. All Rights Reserved.")
  11. cpp_quote("//")
  12. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF")
  13. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  14. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  15. cpp_quote("// PARTICULAR PURPOSE.")
  16. cpp_quote("//=--------------------------------------------------------------------------=")
  17. cpp_quote("")
  18. cpp_quote("#pragma comment(lib,\"uuid.lib\")")
  19. cpp_quote("")
  20. cpp_quote("//---------------------------------------------------------------------------=")
  21. cpp_quote("// Internet Explorer Download Manager Interfaces")
  22. cpp_quote("")
  23. cpp_quote("// --------------------------------------------------------------------------------")
  24. cpp_quote("// GUIDS")
  25. cpp_quote("// --------------------------------------------------------------------------------")
  26. cpp_quote("// {988934A4-064B-11D3-BB80-00104B35E7F9}")
  27. cpp_quote("DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb, 0x80, 0x0, 0x10, 0x4b, 0x35, 0xe7, 0xf9);")
  28. cpp_quote("#define SID_SDownloadManager IID_IDownloadManager")
  29. #ifndef DO_NO_IMPORTS
  30. import "unknwn.idl";
  31. import "ocidl.idl";
  32. import "oleidl.idl";
  33. import "oaidl.idl";
  34. #endif
  35. interface IDownloadManager;
  36. [
  37. helpstring("IDownloadManager interface"),
  38. object,
  39. uuid(988934A4-064B-11D3-BB80-00104B35E7F9), // IID_IDownloadManager
  40. pointer_default(unique),
  41. local
  42. ]
  43. interface IDownloadManager : IUnknown
  44. {
  45. HRESULT Download(
  46. [in] IMoniker *pmk, // Identifies the object to be downloaded
  47. [in] IBindCtx *pbc, // Stores information used by the moniker to bind
  48. [in] DWORD dwBindVerb, // The action to be performed during the bind
  49. [in] LONG grfBINDF, // Determines the use of URL encoding during the bind
  50. [in] BINDINFO *pBindInfo, // Used to implement IBindStatusCallback::GetBindInfo
  51. [in] LPCOLESTR pszHeaders, // Additional headers to use with IHttpNegotiate
  52. [in] LPCOLESTR pszRedir, // The URL that the moniker is redirected to
  53. [in] UINT uiCP // The code page of the object's display name
  54. );
  55. };