InstallService method

Installs an XML-based Accelerator or search provider.

Internet Explorer 8

 

Syntax


var retval = OpenServiceManager.InstallService(pwzServiceUrl);

Parameters

pwzServiceUrl [in]

Type: LPCWSTR

The URL for the OpenService Accelerator or OpenSearch Description XML file.

ppService [out]

Type: IOpenService

The IOpenService interface of the Accelerator.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
E_FAIL

The operation failed.

E_INVALIDARG

The file format was not recognized.

E_OUTOFMEMORY

There is insufficient memory to complete the operation.

 

See also

OpenServiceManager
IOpenServiceManager::UninstallService

 

 

Show: