Navigation:  thinBasic Modules > OS (Operating System) > OS_Service ... >

OS_ServiceGetList

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com