Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
IsServiceInstalled method
- Article
-
2015年10月13日
Deprecated. Check if a service is already installed.
Syntax
*object.*IsServiceInstalled(URL, Verb, pdwResult)
Parameters
URL [in]
Type: BSTR
The main document of the activity that you want to query for.
Verb [in]
Type: BSTR
The type of action that this activity performs. Case-insensitive.
pdwResult [out, retval]
return (0)
The service is not yet installed.
Return (1)
The service is installed.
Return (2)
The service is installed and it is the default for its verb type.
Return value
Type: Integer
A Pointer that returns one of the following values:One of the following values:return0
The service is not yet installed.
Return1
The service is installed.
Return2
The service is installed and it is the default for its verb type.
Standards information
There are no standards that apply here.
Remarks
As of Windows 8, this method is deprecated and only returns "0".