Changeset 3690 for trunk/src/kernel32/heapstring.cpp
- Timestamp:
- Jun 12, 2000, 2:20:05 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/heapstring.cpp
r2802 r3690 1 /* $Id: heapstring.cpp,v 1.2 6 2000-02-16 14:23:58 sandervlExp $ */1 /* $Id: heapstring.cpp,v 1.27 2000-06-12 12:20:05 phaller Exp $ */ 2 2 3 3 /* … … 1052 1052 1053 1053 1054 1054 /***************************************************************************** 1055 * Name : GetNumberFormat 1056 * Purpose : format a given number string according to local settings 1057 * Parameters: 1058 * Variables : 1059 * Result : 1060 * Remark : 1061 * Status : 1062 * 1063 * Author : Patrick Haller [Sun, 2000/06/12 12:46] 1064 *****************************************************************************/ 1065 1066 1067 ODINFUNCTION6(int, GetNumberFormatA, 1068 LCID, Locale, 1069 DWORD, dwFlags, 1070 LPCSTR, lpValue, 1071 CONST NUMBERFMTA *,lpFormat, 1072 LPSTR, lpNumberStr, 1073 int, cchNumber) 1074 { 1075 dprintf(("GetNumberFormatA(%08x,%08x,%s,%08x,%s,%08x) not properly implemented.\n", 1076 Locale, 1077 dwFlags, 1078 lpValue, 1079 lpFormat, 1080 lpNumberStr, 1081 cchNumber)); 1082 1083 // @@@PH cheap ass emulation 1084 lstrcpynA(lpNumberStr, 1085 lpValue, 1086 cchNumber); 1087 1088 return lstrlenA(lpNumberStr); 1089 } 1090 1091 1092 /***************************************************************************** 1093 * Name : GetNumberFormat 1094 * Purpose : format a given number string according to local settings 1095 * Parameters: 1096 * Variables : 1097 * Result : 1098 * Remark : 1099 * Status : 1100 * 1101 * Author : Patrick Haller [Sun, 2000/06/12 12:46] 1102 *****************************************************************************/ 1103 1104 int WIN32API GetNumberFormatW(LCID Locale, 1105 DWORD dwFlags, 1106 LPCWSTR lpValue, 1107 CONST NUMBERFMTW *lpFormat, 1108 LPWSTR lpNumberStr, 1109 int cchNumber) 1110 { 1111 dprintf(("GetNumberFormatW(%08x,%08x,%s,%08x,%s,%08x) not properly implemented.\n", 1112 Locale, 1113 dwFlags, 1114 lpValue, 1115 lpFormat, 1116 lpNumberStr, 1117 cchNumber)); 1118 1119 // @@@PH cheap ass emulation 1120 lstrcpynW(lpNumberStr, 1121 lpValue, 1122 cchNumber); 1123 1124 return lstrlenW(lpNumberStr); 1125 } 1126
Note:
See TracChangeset
for help on using the changeset viewer.