Επεξεργασία

Κοινή χρήση μέσω


IURLSearchHook2 interface (shlobj_core.h)

Exposes a method that is used by the browser to translate the address of an unknown URL protocol by using a search context object.

Inheritance

The IURLSearchHook2 interface inherits from IURLSearchHook. IURLSearchHook2 also has these types of members:

Methods

The IURLSearchHook2 interface has these methods.

 
IURLSearchHook2::TranslateWithSearchContext

Called by the browser when the browser cannot determine the protocol of a URL address. This method uses a search context to determine the protocol.

Remarks

This interface also provides the methods of the IURLSearchHook interface, from which it inherits.

When attempting to browse to a URL address, if the browser retrieves an IURLSearchHook2 interface, a search context is passed to the browser. If no IURLSearchHook2 interface is available the browser uses IURLSearchHook to determine the address of the unknown URL.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h