interface IDownloadManager;
[
odl,
uuid(988934A4-064B-11D3-BB80-00104B35E7F9), // IID_IDownloadManager
]
interface IDownloadManager : IUnknown
{
HRESULT Download(
[in] IMoniker *pmk, // Identifies the object to be downloaded
[in] IBindCtx *pbc, // Stores information used by the moniker to bind
[in] LONG dwBindVerb, // The action to be performed during the bind
[in] LONG grfBINDF, // Determines the use of URL encoding during the bind
[in] BINDINFO *pBindInfo, // Used to implement IBindStatusCallback::GetBindInfo
//[in] LPCOLESTR pszHeaders, // Additional headers to use with IHttpNegotiate
[in] long pszHeaders,
//[in] LPCOLESTR *pszRedir, // The URL that the moniker is redirected to
[in] long pszRedir,
[in] LONG uiCP // The code page of the object's display name
);
};
存为一个inc文件,然后在 olelib.odl 中添加 #include "downloadmgr.inc"
重新编译一次 olelib.odl 就可以了
[
odl,
uuid(988934A4-064B-11D3-BB80-00104B35E7F9), // IID_IDownloadManager
]
interface IDownloadManager : IUnknown
{
HRESULT Download(
[in] IMoniker *pmk, // Identifies the object to be downloaded
[in] IBindCtx *pbc, // Stores information used by the moniker to bind
[in] LONG dwBindVerb, // The action to be performed during the bind
[in] LONG grfBINDF, // Determines the use of URL encoding during the bind
[in] BINDINFO *pBindInfo, // Used to implement IBindStatusCallback::GetBindInfo
//[in] LPCOLESTR pszHeaders, // Additional headers to use with IHttpNegotiate
[in] long pszHeaders,
//[in] LPCOLESTR *pszRedir, // The URL that the moniker is redirected to
[in] long pszRedir,
[in] LONG uiCP // The code page of the object's display name
);
};
存为一个inc文件,然后在 olelib.odl 中添加 #include "downloadmgr.inc"
重新编译一次 olelib.odl 就可以了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货