IsServiceInstalled method

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]

C++ A Pointer that returns one of the following values:
JavaScript One of the following values:

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".

See also

external

window

AddService