示例#1
0
 public static extern int EnumServicesStatus(IntPtr hSCManager, int dwServiceType, int dwServiceState,
                                         ref ENUM_SERVICE_STATUS lpServices, int cbBufSize,
                                         ref int pcbBytesNeeded, ref int lpServicesReturned,
                                         ref int lpResumeHandle);
示例#2
0
 public static extern int EnumDependentServices(IntPtr hService, int dwServiceState,
                                            ref ENUM_SERVICE_STATUS lpServices, int cbBufSize,
                                            ref int pcbBytesNeeded, ref int lpServicesReturned);