public static unsafe extern bool EnumServicesStatus( SafeServiceHandle hSCManager, ServiceType dwServiceType, ServiceStateQuery dwServiceState, byte *lpServices, int cbBufSize, ref int pcbBytesNeeded, ref int lpServicesReturned, ref int lpResumeHandle);
public static extern bool EnumServicesStatus( SafeServiceHandle hSCManager, ServiceType dwServiceType, ServiceStateQuery dwServiceState, IntPtr lpServices, int cbBufSize, ref int pcbBytesNeeded, ref int lpServicesReturned, ref int lpResumeHandle);