получить текущее время через GetSystemTime(), уменьшить 60 раз на 1 минуту и задать новое значение SetSystemTime(). не забыв почитать комментарий:
Цитата:
Windows NT: The SetSystemTime function fails if the calling process does not have the SE_SYSTEMTIME_NAME privilege. This privilege is disabled by default. Use the AdjustTokenPrivileges function to enable this privilege and again to disable it after the time has been set.
|