darrelliu
asked on
about Timezone info stored in Windows 95 registry...please
hi there, does anybody have the specification on Timezone
info stored in Windows 95 registry? (Located at:
HLM\Software\Microsoft\Win dows\Curre ntVersion\ Time Zone)
i wanna know the meaning of the key "MapID" and the "TZI"
string. if somebody can explain "TZI" string to me, i'll
appreciate! thanx...
info stored in Windows 95 registry? (Located at:
HLM\Software\Microsoft\Win
i wanna know the meaning of the key "MapID" and the "TZI"
string. if somebody can explain "TZI" string to me, i'll
appreciate! thanx...
ASKER
oh thanx...that help me a lot!
Are you being sarcastic??
ASKER
hey why? i'm honest...maybe because i'm a beginner and i've searched in the web and posted
this question in several newsgroups and bbs for many days but no one replyed...i'm writing a
little clock program using VC, and i need this...i'm far away from an expert, but not sarcastic...
this question in several newsgroups and bbs for many days but no one replyed...i'm writing a
little clock program using VC, and i need this...i'm far away from an expert, but not sarcastic...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TZI=Time Zone Information
In Windows 95, the time-zone strings are located in the key:
HKEY_LOCAL_MACHINE\SOFTWAR
Microsoft\
Windows\
CurrentVersion\
Time Zones.
For each time zone, the registry key TZI is formatted as follows:
LONG Bias;
LONG StandardBias;
LONG DaylightBias;
SYSTEMTIME StandardDate;
SYSTEMTIME DaylightDate;
You can use this information to fill out a TIME_ZONE_INFORMATION structure, which is used when calling SetTimeZoneInformation().