_snprintf(nid.szTip,63,"%s scheduled at %02d:%02d on %02d/%02d/%04d",GetModeStr(ps),ps->schedule.time.wHour,ps->schedule.time.wMinute,ps->schedule.date.wDay,ps->schedule.date.wMonth,ps->schedule.date.wYear);
else if (ps->schedule.schedule==DAILY)
{
char str[20]="";
if (ps->schedule.monday)
ADD_DAY("m")
if (ps->schedule.tuesday)
ADD_DAY("t")
if (ps->schedule.wednesday)
ADD_DAY("w")
if (ps->schedule.thursday)
ADD_DAY("th")
if (ps->schedule.friday)
ADD_DAY("f")
if (ps->schedule.saturday)
ADD_DAY("s")
if (ps->schedule.sunday)
ADD_DAY("su")
_snprintf(nid.szTip,63,"%s scheduled at %02d:%02d on %s",GetModeStr(ps),ps->schedule.time.wHour,ps->schedule.time.wMinute,str);
}
else if (ps->schedule.schedule==DAY_OF_MONTH)
_snprintf(nid.szTip,63,"%s scheduled at %02d:%02d on day %d",GetModeStr(ps),ps->schedule.time.wHour,ps->schedule.time.wMinute,ps->schedule.day);
else if (ps->schedule.schedule==AFTER_X_SECONDS)
_snprintf(nid.szTip,63,"%s scheduled after %d seconds",GetModeStr(ps),ps->remaining_seconds);
}
else if (ps->active_timer && ps->when==PROCESS)
{
_snprintf(nid.szTip,63,"%s when %s finishes",GetModeStr(ps),ps->process.process);
if (ps.windowsversion.dwPlatformId==VER_PLATFORM_WIN32_NT)
Log("PC is running Windows NT version %d.%d build %d (%s)",ps.windowsversion.dwMajorVersion,ps.windowsversion.dwMinorVersion,ps.windowsversion.dwBuildNumber,ps.windowsversion.szCSDVersion);
else
Log("PC is running Windows 9x version %d.%d build %d (%s)",ps.windowsversion.dwMajorVersion,ps.windowsversion.dwMinorVersion,LOWORD(ps.windowsversion.dwBuildNumber),ps.windowsversion.szCSDVersion);