IWebBrowserEventsService::FireBeforeNavigate2Event Method
Fires the DWebBrowserEvents2::BeforeNavigate2 event.
Syntax
HRESULT FireBeforeNavigate2Event( VARIANT_BOOL *pfCancel );
Parameters
- pfCancel
[out, retval] A variable of type BOOL that receives VARIANT_TRUE if the navigation was cancelled, or VARIANT_FALSE otherwise.
Return Value
Returns S_OK if successful, or an error value otherwise.