UninstallService method

Deletes an Accelerator or search provider from the registry.

 

Syntax

var retval = OpenServiceManager.UninstallService(pService);

Parameters

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You can instantiate IOpenService object by calling IOpenServiceManager::GetServiceByID or IOpenServiceActivityManager::GetActivityByHomepageAndCategory methods.

See also

OpenServiceManager

IOpenServiceManager::InstallService