The information in this article applies to:
SYMPTOMSThe LocalFileTimeToFileTime() function in Mapi.dll may not return the correct time when the function is executed on a computer running Windows 95 or Windows NT. CAUSEThe 16-bit version of the LocalFileTimeToFileTime function in Mapi.dll gets time zone information from the Win.ini file instead of the registry. RESOLUTIONThe time zone information is not written to the Win.ini file in Windows 95 or Windows NT. However, you may add the time zone information to the Win.ini file. The information to be added is at the following location in the registry:
You need to modify the Win.ini file by adding the following section:
[MAPI 1.0 Time Zone]The user needs to copy the values and data for each entry in the registry key listed above to a separate line into this section of the Win.ini. The end user should then have a Win.ini file that has the following section with similar data as shown below:
STATUSThis behavior is by design. MORE INFORMATIONLocalFileTimeToFileTime() is used to convert a local file time to a file time based on the Coordinated Universal Time (UTC). The function uses the current computer settings for the time zone and daylight saving time. Additional query words:
Keywords : kbMsg kbMAPI100 |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |