Share via


InstallService method

Installs an XML-based Accelerator or search provider.

 

Syntax

var retval = OpenServiceManager.InstallService(pwzServiceUrl);

Parameters

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
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