- Timestamp:
- Jun 12, 2000, 2:20:05 PM (25 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.CPP
r3483 r3690 1 /* $Id: KERNEL32.CPP,v 1.4 4 2000-05-02 20:53:11 sandervlExp $ */1 /* $Id: KERNEL32.CPP,v 1.45 2000-06-12 12:20:04 phaller Exp $ */ 2 2 3 3 /* … … 651 651 652 652 653 int WIN32API GetNumberFormatA(LCID Locale,654 DWORD dwFlags,655 LPCSTR lpValue,656 CONST NUMBERFMTA *lpFormat,657 LPSTR lpNumberStr,658 int cchNumber)659 {660 dprintf(("KERNEL32::OS2GetNumberFormatA(%08x,%08x,%s,%08x,%s,%08x) not implemented.\n",661 Locale,662 dwFlags,663 lpValue,664 lpFormat,665 lpNumberStr,666 cchNumber));667 668 return 0;669 }670 671 int WIN32API GetNumberFormatW(LCID Locale,672 DWORD dwFlags,673 LPCWSTR lpValue,674 CONST NUMBERFMTW *lpFormat,675 LPWSTR lpNumberStr,676 int cchNumber)677 {678 dprintf(("KERNEL32::OS2GetNumberFormatW(%08x,%08x,%s,%08x,%s,%08x) not implemented.\n",679 Locale,680 dwFlags,681 lpValue,682 lpFormat,683 lpNumberStr,684 cchNumber));685 686 return 0;687 }688 689 653 //****************************************************************************** 690 654 //****************************************************************************** -
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.