UninstallService method
Deletes an Accelerator or search provider from the registry.
Syntax
var retval = OpenServiceManager.UninstallService(pService);
Parameters
pService [in]
Type: IOpenServiceThe IOpenService or IOpenServiceActivity interface of the Accelerator or search provider to be removed.
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.