Get service Name
-
Is there any API from which i can get the name of Service under which an executable is running .Pls help me. Thanx Sunit
never say die
You can use EnumServicesStatusEx[^] to get the name and status of each service and a matching PID of the process within the returned SERVICE_STATUS_PROCESS structure[^]. You can retrieve the display name using: GetServiceDisplayName[^] Best Wishes, -David Delaune
-
You can use EnumServicesStatusEx[^] to get the name and status of each service and a matching PID of the process within the returned SERVICE_STATUS_PROCESS structure[^]. You can retrieve the display name using: GetServiceDisplayName[^] Best Wishes, -David Delaune
-
Is there any API from which i can get the name of Service under which an executable is running .Pls help me. Thanx Sunit
never say die
See About Windows Services[^].