Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.036 c
15-1175695826
kaif
2007-04-04 18:10
2007.05.13
Заботы президента о мироздании


5-1153477310
Andrik
2006-07-21 14:21
2007.05.13
Как получить указатель на экземпляр класса из егоже метода


15-1176464219
NewUser2
2007-04-13 15:36
2007.05.13
Дрова


2-1177043094
Мистик
2007-04-20 08:24
2007.05.13
ftp indy и путь к диску D


2-1177223988
Doom_2
2007-04-22 10:39
2007.05.13
array of string




   Наверх