Error(ps,hWnd,"You must select at least one day of the week");
return 0;
}
ps->schedule.date.wYear=0;
ps->schedule.schedule=DAILY;
DisplayInformation(ps,hWnd,"Please make sure that you create or update the poweroff service, so that the action can be performed according to your schedule");
}
else if (IsDlgButtonChecked(hWnd,IDC_FIXED_MONTH_DAY))
{
GetDlgItemText(hWnd,IDC_MONTH_DAY,str,20);
ps->schedule.day=atoi(str);
ps->schedule.schedule=DAY_OF_MONTH;
ps->schedule.date.wYear=0;
DisplayInformation(ps,hWnd,"Please make sure that you create or update the poweroff service, so that the action can be performed according to your schedule");
}
else if (IsDlgButtonChecked(hWnd,IDC_AFTER_X_SECONDS))