DWebBrowserEvents2::ThirdPartyUrlBlocked Event
Fired when a third-party URL is blocked.
Syntax
void ThirdPartyUrlBlocked( VARIANT *URL, DWORD dwCount );
Parameters
- URL
- [in] A VARIANT of type VT_BSTR that specifies the entire original Uniform Resource Identifier (URI) input string.
- dwCount
- [in] Not used. Always zero.
Return Value
No return value.
Event DISPID
DISPID_THIRDPARTYURLBLOCKEDThe DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
Remarks
Windows Internet Explorer fires this event but does not respond to it. The event is intended for use by Browser Helper Objects (BHOs).
The URL parameter returns the exact URL blocked by the browser. Subtle variations in the URL syntax can make this string difficult to parse. Use CreateUri to canonicalize the URL and use the IUri interface to break it into parts.