Displaying 2 results from an estimated 2 matches for "gettimezoneinformation".
2007 Oct 14
2
GetTimeZoneInformation question
...DaylightName, but everything else is goofed
up. The alignment seems ok, but maybe I''ve missed something or maybe I
have to do extra work to unpack the SYSTEMTIME structures.
require ''windows/time''
include Windows::Time
buf = 0.chr * 172 # sizeof(TIME_ZONE_INFORMATION)
GetTimeZoneInformation(buf)
p buf[0,4].unpack(''L'')[0] # Bias
p buf[4,64].tr("\0",'''') # StandardName
p buf[68,2].unpack(''S'')[0] # Year
p buf[70,2].unpack(''S'')[0] # Month
p buf[72,2].unpack(''S'')[0] # DOW
p buf...
2001 May 16
1
wine-20010510 fails to run?
...00002 ret=00469e55
08067f18:Call kernel32.GetFileType(00000008) ret=00469e55
08067f18:Ret kernel32.GetFileType() retval=00000002 ret=00469e55
08067f18:Call kernel32.GetFileType(0000000c) ret=00469e55
08067f18:Ret kernel32.GetFileType() retval=00000002 ret=00469e55
08067f18:Call kernel32.GetTimeZoneInformation(405b6dec) ret=0046f8b5
08067f18:Ret kernel32.GetTimeZoneInformation() retval=00000001
ret=0046f8b5
08067f18:Call user32.GetSysColor(0000000f) ret=004089de
08067f18:Ret user32.GetSysColor() retval=00c0c0c0 ret=004089de
08067f18:Call user32.GetSysColor(00000014) ret=004089f3
08067f18:Ret...