Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.05.13;
Скачать: CL | DM;

Вниз

Узнать сколько времени прошло с запуска Wndows   Найти похожие ветки 

 
Викетор1985   (2007-04-20 10:59) [0]

Поздскажите сабж. Никак не могу вспомнить, уже есь яндекс измучил :(


 
stakan ©   (2007-04-20 11:03) [1]

The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started.

DWORD GetTickCount(VOID)


Parameters

This function has no parameters.

Return Values

If the function succeeds, the return value is the number of milliseconds that have elapsed since Windows was started.

Remarks

The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if Windows is run continuously for 49.7 days.
Windows NT: To obtain the time elapsed since the computer was started, look up the System Up Time counter in the performance data in the registry key HKEY_PERFORMANCE_DATA. The value returned is an 8 byte value.


 
Викетор1985   (2007-04-20 11:05) [2]

Спасибо, именно то что искал :)



Страницы: 1 вся ветка

Текущий архив: 2007.05.13;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.029 c
15-1176697979
pavel_guzhanov
2007-04-16 08:32
2007.05.13
Непонятный глюк с DVD-RW


15-1176379649
stone
2007-04-12 16:07
2007.05.13
По следам первоапрельской "шутки".


4-1166210871
kolj
2006-12-15 22:27
2007.05.13
ShellExecute


15-1176289119
Layner
2007-04-11 14:58
2007.05.13
HKEY_LOCAL_MACHINE доступен ли для "Пользователей" в XP/2000/3?


2-1177006647
Sapan
2007-04-19 22:17
2007.05.13
Удалить символ из поля