예제 #1
0
 internal static extern bool EnumDependentServices(
     IntPtr hService,
     SERVICE_ACTIVE_STATE dwServiceState,
     IntPtr lpServices,
     int cbBufSize,
     out int pcbBytesNeeded,
     out int lpServicesReturned);
예제 #2
0
 internal static extern bool EnumServicesStatus(
     IntPtr hSCManager,
     SERVICE_TYPE dwServiceType,
     SERVICE_ACTIVE_STATE dwServiceState,
     IntPtr lpServices,
     int cbBufSize,
     out int pcbBytesNeeded,
     out int lpServicesReturned,
     ref int lpResumeHandle);
예제 #3
0
 internal static extern bool EnumServicesStatusEx(
     IntPtr hSCManager,
     INFO_LEVEL infoLevel,
     SERVICE_TYPE dwServiceType,
     SERVICE_ACTIVE_STATE dwServiceState,
     IntPtr lpServices,
     int cbBufSize,
     out int pcbBytesNeeded,
     out int lpServicesReturned,
     ref int lpResumeHandle,
     string pszGroupName);