AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

How can I find out how long windows 95 has been running?

To find out the number of milliseconds that hae elasped since windows was started, use the API function GetTickCount. It returns a long containing the elapsed time in milliseconds.

Declare Function GetTickCount& Lib "kernel32" ()

With this function, you can calculate the number of minutes that have elapsed since startup. There are 1000 milliseconds in a second. This function replaces the Win16 GetCurrentTime function.

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/