Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than advapi32, prefix the name with the module name and a period.
EnumDependentServices (advapi32)
.
C# Signature:
[DllImport("advapi32.dll", EntryPoint="EnumDependentServicesW", ExactSpelling=true, SetLastError=true)]
static extern bool EnumDependentServices( IntPtr hService,
SERVICE_STATES dwServiceState,
ref ENUM_SERVICE_STATUS lpServices,
int cbBufSize,
ref int pcbBytesNeeded,
ref int lpServicesReturned );
VB Signature:
Declare Function EnumDependentServices Lib "advapi32.dll" (TODO) As TODO
The EnumDependentServices function retrieves the name and status of each service that depends on the specified service; that is, the specified service must be running before the dependent services can run.
3/16/2007 7:31:59 AM - anfortas.geo@yahoo.com-216.204.61.86
State of the services to be enumerated by EnumServicesStatus
10/7/2010 10:29:29 AM - Jack Hudler-216.198.83.226
TODO - a short description
10/7/2010 10:31:58 AM - -196.25.255.210
The ENUM_SERVICE_STATUS structure is used by the EnumDependentServices and EnumServicesStatus functions to return the name of a service in a service control manager database and to return information about that service.
7/12/2016 6:16:29 AM - Jack Hudler-216.198.83.226
The OpenSCManager function establishes a connection to the service control manager on the specified computer and opens the specified service control manager database.
10/18/2022 4:00:07 AM - -95.220.199.28
Enumerates services in the specified service control manager database. The name and status of each service are provided, long with additional data based on the specified information level.
7/8/2010 5:38:21 PM - -74.56.93.131
The OpenService function opens an existing service.
5/6/2020 6:55:40 AM - maxbgn-178.74.224.122
State of the services to be enumerated by EnumServicesStatus
10/7/2010 10:29:29 AM - Jack Hudler-216.198.83.226
TODO - a short description
10/7/2010 10:31:58 AM - -196.25.255.210
The ENUM_SERVICE_STATUS structure is used by the EnumDependentServices and EnumServicesStatus functions to return the name of a service in a service control manager database and to return information about that service.
7/12/2016 6:16:29 AM - Jack Hudler-216.198.83.226
The OpenSCManager function establishes a connection to the service control manager on the specified computer and opens the specified service control manager database.
10/18/2022 4:00:07 AM - -95.220.199.28
Enumerates services in the specified service control manager database. The name and status of each service are provided, long with additional data based on the specified information level.
7/8/2010 5:38:21 PM - -74.56.93.131
The OpenService function opens an existing service.
5/6/2020 6:55:40 AM - maxbgn-178.74.224.122
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).