Download method
Called by Windows Internet Explorer and WebBrowser applications to download a file.
HRESULT retVal = object.Download(pmk, pbc, dwBindVerb, grfBINDF, pBindInfo, pszHeaders, pszRedir, uiCP);
pmk [in]
Type: IMonikerA pointer to an IMoniker interface that specifies the object to be downloaded.
pbc [in]
Type: IBindCtxA pointer to an IBindCtx interface that specifies information used by the moniker in the bind process.
dwBindVerb [in]
Type: DWORDA value of type DWORD that specifies the action to be performed during the bind process.
grfBINDF [in]
Type: LONGA value of type LONG that specifies a combination of values taken from the BINDF enumeration indicating how the bind process is handled.
pBindInfo [in]
Type: BINDINFOA pointer to a variable of type BINDINFO that specifies the client application's requirements for binding.
pszHeaders [in]
Type: LPCOLESTRA value of type LPCOLESTR that specifies additional headers to use with IHttpNegotiate.
pszRedir [in]
Type: LPCOLESTRA value of type LPCOLESTR that specifies the URL that the moniker is redirected to.
uiCP [in]
Type: UINTA value of type UINT that specifies the code page of the object's display name.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Implement this method to provide a custom user interface for file downloads in Internet Explorer or a WebBrowser application.
URL Moniker functions can be used to download a resource.
Reference
Conceptual