InstallService method
Installs an XML-based Accelerator or search provider.
Syntax
var retval = OpenServiceManager.InstallService(pwzServiceUrl);
Parameters
pwzServiceUrl [in]
Type: LPCWSTRThe URL for the OpenService Accelerator or OpenSearch Description XML file.
ppService [out]
Type: IOpenServiceThe IOpenService interface of the Accelerator.
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. |