00001 //+------------------------------------------------------------------------- 00002 // 00003 // Microsoft Windows 00004 // Copyright 1995-2000 Microsoft Corporation. All Rights Reserved. 00005 // 00006 //-------------------------------------------------------------------------- 00007 00008 cpp_quote("//=--------------------------------------------------------------------------=") 00009 cpp_quote("// downloadmgr.h") 00010 cpp_quote("//=--------------------------------------------------------------------------=") 00011 cpp_quote("// (C) Copyright 2000 Microsoft Corporation. All Rights Reserved.") 00012 cpp_quote("//") 00013 cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF") 00014 cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO") 00015 cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A") 00016 cpp_quote("// PARTICULAR PURPOSE.") 00017 cpp_quote("//=--------------------------------------------------------------------------=") 00018 cpp_quote("") 00019 cpp_quote("#pragma comment(lib,\"uuid.lib\")") 00020 cpp_quote("") 00021 cpp_quote("//---------------------------------------------------------------------------=") 00022 cpp_quote("// Internet Explorer Download Manager Interfaces") 00023 cpp_quote("") 00024 cpp_quote("// --------------------------------------------------------------------------------") 00025 cpp_quote("// GUIDS") 00026 cpp_quote("// --------------------------------------------------------------------------------") 00027 cpp_quote("// {988934A4-064B-11D3-BB80-00104B35E7F9}") 00028 cpp_quote("DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb, 0x80, 0x0, 0x10, 0x4b, 0x35, 0xe7, 0xf9);") 00029 cpp_quote("#define SID_SDownloadManager IID_IDownloadManager") 00030 00031 #ifndef DO_NO_IMPORTS 00032 import "unknwn.idl"; 00033 import "ocidl.idl"; 00034 import "oleidl.idl"; 00035 import "oaidl.idl"; 00036 #endif 00037 00038 00039 interface IDownloadManager; 00040 [ 00041 helpstring("IDownloadManager interface"), 00042 object, 00043 uuid(988934A4-064B-11D3-BB80-00104B35E7F9), // IID_IDownloadManager 00044 pointer_default(unique), 00045 local 00046 ] 00047 interface IDownloadManager : IUnknown 00048 { 00049 HRESULT Download( 00050 [in] IMoniker *pmk, // Identifies the object to be downloaded 00051 [in] IBindCtx *pbc, // Stores information used by the moniker to bind 00052 [in] DWORD dwBindVerb, // The action to be performed during the bind 00053 [in] LONG grfBINDF, // Determines the use of URL encoding during the bind 00054 [in] BINDINFO *pBindInfo, // Used to implement IBindStatusCallback::GetBindInfo 00055 [in] LPCOLESTR pszHeaders, // Additional headers to use with IHttpNegotiate 00056 [in] LPCOLESTR pszRedir, // The URL that the moniker is redirected to 00057 [in] UINT uiCP // The code page of the object's display name 00058 ); 00059 }; 00060 00061 00062
1.5.6