Changeset 5154 for trunk/src/kernel32/ole2nls.cpp
- Timestamp:
- Feb 17, 2001, 8:39:11 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/ole2nls.cpp
r4467 r5154 1 /* $Id: ole2nls.cpp,v 1. 6 2000-10-09 17:47:22sandervl Exp $ */1 /* $Id: ole2nls.cpp,v 1.7 2001-02-17 19:37:16 sandervl Exp $ */ 2 2 3 3 /* … … 3047 3047 */ 3048 3048 INT WINAPI GetDateFormatA(LCID locale,DWORD flags, 3049 LPSYSTEMTIMExtime,3050 3049 CONST SYSTEMTIME * xtime, 3050 LPCSTR format, LPSTR date,INT datelen) 3051 3051 { 3052 3052 … … 3077 3077 thistime = &t; 3078 3078 } else { 3079 thistime = xtime;3079 thistime = (SYSTEMTIME *)xtime; 3080 3080 }; 3081 3081 … … 3110 3110 */ 3111 3111 INT WINAPI GetDateFormatW(LCID locale,DWORD flags, 3112 LPSYSTEMTIMExtime,3113 3114 3112 CONST SYSTEMTIME *xtime, 3113 LPCWSTR format, 3114 LPWSTR date, INT datelen) 3115 3115 { 3116 3116 unsigned short datearr[] = {'1','9','9','4','-','1','-','1',0}; … … 4151 4151 GetTimeFormatA(LCID locale, /* in */ 4152 4152 DWORD flags, /* in */ 4153 LPSYSTEMTIMExtime, /* in */4153 CONST SYSTEMTIME (*xtime, /* in */ 4154 4154 LPCSTR format, /* in */ 4155 4155 LPSTR timestr, /* out */ … … 4189 4189 } 4190 4190 else 4191 { thistime = xtime;4191 { thistime = (SYSTEMTIME *)xtime; 4192 4192 } 4193 4193 ret = OLE_GetFormatA(thislocale, thisflags, flags, thistime, thisformat, … … 4204 4204 GetTimeFormatW(LCID locale, /* in */ 4205 4205 DWORD flags, /* in */ 4206 LPSYSTEMTIMExtime, /* in */4206 CONST SYSTEMTIME *xtime, /* in */ 4207 4207 LPCWSTR format, /* in */ 4208 4208 LPWSTR timestr, /* out */ … … 4243 4243 } 4244 4244 else 4245 { thistime = xtime;4245 { thistime = (SYSTEMTIME *)xtime;; 4246 4246 } 4247 4247
Note:
See TracChangeset
for help on using the changeset viewer.