TCnServiceController.GetDevices Method

Retrieves the device driver services on the local computer.

Namespace: CNClrLib.Component.ServiceController
public
 class function GetDevices: _ServiceControllerArray; overload; static;

Return Value

An array of type ServiceController in which each element is associated with a device driver service on the local computer.

GetDevices returns only the device driver services from the local computer. To retrieve the non-device driver services or services that are not drivers, call the GetServices method. Together, the two methods provide access to all the services on a computer.