OS_ServiceGetList

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > OS (Operating System) > OS_Service >

OS_ServiceGetList

 

Description

 

Returns a string with the service relevant names separated by the passed separator.

 

Syntax

 

s = OS_ServiceGetList( [lpComputerName], lpSeparator, dwServiceType, dwServiceState)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

lpComputerName

String

Yes

Name of the computer you want the list of service

lpSeparator

String

No

String separator to be used in return string

dwServiceType

Number

No

Type of service to be listed. See OS equates for possible values.

dwServiceState

Number

No

Service with the following state will be listed. See OS equates for possible values.

 

Remarks

 

Restrictions

 

Functionality tested only on LAN.

 

See also

 

Examples