public static extern bool ChangeServiceConfig2(IntPtr hService, ServiceConfigType dwInfoLevel, ref ServiceDescription lpInfo);
public static extern bool ChangeServiceConfig2W(SafeHandle hService, ServiceConfigType dwInfoLevel, /**/ ref SERVICE_FAILURE_ACTIONSW /*/IntPtr/**/ lpInfo);
public static extern bool ChangeServiceConfig2(IntPtr hService, ServiceConfigType dwInfoLevel, ref ServiceSidType lpInfo);
public static extern bool ChangeServiceConfig2W(SafeHandle hService, ServiceConfigType dwInfoLevel, ref SERVICE_FAILURE_ACTIONS_FLAG lpInfo);