www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 IsSearchProviderInstalled Method
IsSearchProviderInstalled Method

Determines if a search provider has been installed for the current user and whether it is set as default.

Syntax

pdwResult = window.external.IsSearchProviderInstalled(sUrl)

Parameters

sUrl Required. String that specifies a prefix to the URL for the search provider.

Return Value

Pointer to an unsigned long integer value that contains return value.

0The specified search provider is not installed for the current user.
1The specified search provider is installed for the current user.
2The specified search provider is installed and is set as the default search provider.

Remarks

IsSearchProviderInstalled was introduced in Windows Internet Explorer 7.

This method indicates whether a specific search provider is installed and is the default search provider for the current user. To determine if a search provider is installed, IsSearchProviderInstalled compares the value of the sURL parameter to the list of installed search providers. If any search provider starts with the parameter value, the method indicates a match.

Sites are only allowed to search for providers on the same domain. For example, images.example.com may search for http://search.example.com; however, it cannot search for providers on microsoft.com or other domain names. Searching for providers on different domains generates access denied errors.

Standards Information

There is no public standard that applies to this method.

Applies To

external
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG