The OpenD Programming Language

ICoreWebView2DownloadStartingEventArgs

Undocumented in source.

Members

Functions

GetDeferral
HRESULT GetDeferral(ICoreWebView2Deferral* deferral)

Returns an ICoreWebView2Deferral object. Use this operation to complete the event at a later time.

get_Cancel
HRESULT get_Cancel(BOOL* cancel)

The host may set this flag to cancel the download. If canceled, the download save dialog is not displayed regardless of the Handled property.

get_DownloadOperation
HRESULT get_DownloadOperation(ICoreWebView2DownloadOperation* downloadOperation)

Returns the ICoreWebView2DownloadOperation for the download that has started.

get_Handled
HRESULT get_Handled(BOOL* handled)

The host may set this flag to TRUE to hide the default download dialog for this download. The download will progress as normal if it is not canceled, there will just be no default UI shown. By default the value is FALSE and the default download dialog is shown.

get_ResultFilePath
HRESULT get_ResultFilePath(LPWSTR* resultFilePath)

The path to the file. If setting the path, the host should ensure that it is an absolute path, including the file name, and that the path does not point to an existing file. If the path points to an existing file, the file will be overwritten. If the directory does not exist, it is created.

put_Cancel
HRESULT put_Cancel(BOOL cancel)

Sets the Cancel property.

put_Handled
HRESULT put_Handled(BOOL handled)

Sets the Handled property.

put_ResultFilePath
HRESULT put_ResultFilePath(LPCWSTR resultFilePath)

Sets the ResultFilePath property.

Meta