IURLSearchHookIURLSearchHook*
*Contents  *Index  *Topic Contents
*Previous Topic: ITaskbarList::SetActiveAlt
*Next Topic: IURLSearchHook::Translate

IURLSearchHook


The IURLSearchHook interface is used by the browser to translate the address of an unknown URL protocol. When attempting to browse to a URL address that does not contain a protocol, the browser will first attempt to determine the correct protocol from the address. If this is not successful, the browser will create URL Search Hook objects and call each object's Translate method until the address is translated or all of the hooks have been queried.

URL Search Hooks are registered by adding a key that contains the object's CLSID string under the following key in the registry:

HKEY_LOCAL_MACHINE\
   Software\
   Microsoft\
   Internet Explorer\
   UrlSearchHooks

When to Implement

Implement this interface if your application defines a custom URL protocol and if address translation for this protocol is required.

When to Use

You do not normally use this interface; it is called by the browser.
IURLSearchHook Method Description
Translate Called by the browser when the browser cannot determine the protocol of a URL address.

Note This interface is only supported in shell versions 4.71 and later.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.