IShellUIHelper3::IsServiceInstalled Method
Check if a service is already installed.
Syntax
HRESULT IsServiceInstalled( BSTR URL, BSTR Verb, DWORD *pdwResult );
Parameters
- URL
[in] The main document of the activity that you want to query for.- Verb
[in] The type of action that this activity performs. Case-insensitive.- pdwResult
[out, retval] A Pointer that returns one of the following values:
0
The service is not yet installed.1
The service is installed.2
The service is installed and it is the default for its verb type.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also