IWebBrowserEventsUrlService::GetUrlForEvents Method

Gets the URL to use in navigation events.

Syntax

HRESULT GetUrlForEvents(
    BSTR *pUrl
);

Parameters

  • pUrl
    [out, retval] A BSTR that receives the currently active URL.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Caller is responsible for freeing memory with SysFreeString.