Export (0) Print
Expand All

IOpenServiceManager::InstallService Method

Installs an XML-based Accelerator or search provider.

Syntax


HRESULT InstallService(
    LPCWSTR pwzServiceUrl,
    IOpenService **ppService
);

Parameters

pwzServiceUrl
[in] The URL for the OpenService Accelerator or OpenSearch Description XML file.
ppService
[out] The IOpenService interface of the Accelerator.

Return Value

Returns one of the following values.

S_OK The operation completed successfully.
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

IOpenServiceManager::UninstallService

Community Additions

ADD
Show:
© 2015 Microsoft