Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
GetSystemTimes
Hello,
How is the GetSystemTimes (not GetSystemTime) API coded with in VBA? -- rjwilcox |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
GetSystemTimes
cannot find it in my standard api files: however i adapted from following: Private Type FILETIME dwLowDateTime As Long dwHighDateTime As Long End Type Private Declare Sub GetSystemTimeAsFileTime Lib "kernel32.dll" ( _ ByRef lpSystemTimeAsFileTime As FILETIME) ... + http://msdn.microsoft.com/library/de.../en-us/sysinfo /base/getsystemtimes.asp Private Declare Sub GetSystemTimes Lib "kernel32.dll" ( _ ByRef lpIdleTime, as FILETIME, ByRef lpKernelTime as FILETIME, ByRef lpUserTime as FILETIME) PLEASE NOTE To compile an application that uses this function, define _WIN32_WINNT as 0x0501 or later. For more information, see Using the Windows Headers. Requirements Client Requires Windows XP SP1. Server Requires Windows Server 2003. -- keepITcool | www.XLsupport.com | keepITcool chello nl | amsterdam rjwilcox wrote : Hello, How is the GetSystemTimes (not GetSystemTime) API coded with in VBA? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|