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 就可以了
uj5u.com熱心網友回復:
重新編譯一次 olelib.odl 這要怎么操作,在VC++要工程才能編繹。。那這樣一個檔案怎么才能編繹成tlb檔案uj5u.com熱心網友回復:
有哪位朋友有這個帶Idownloadmgr的TLB發我一份,急求!!轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/122902.html
標籤:控件
