How To Call EnumServicesStatus API From Visual Basic (183478)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q183478 SUMMARY
This article demonstrates how to call the EnumServicesStatus API on Windows
NT 4.0 (SP3) or Windows 2000 from Visual Basic. The EnumServicesStatus function enumerates services in the specified service control manager database. The name and status of each service is retrieved.
REFERENCES
Win32 System Services by Marshall Brain
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB183478 |
---|
|