Changeset 242 for trunk/include/helpers/nls.h
- Timestamp:
- Jan 19, 2003, 8:42:16 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/nls.h
r194 r242 90 90 } COUNTRYSETTINGS, *PCOUNTRYSETTINGS; 91 91 92 VOID XWPENTRY nlsQueryCountrySettings(PCOUNTRYSETTINGS pcs); 92 /* 93 *@@ COUNTRYAMPM: 94 * 95 *@@added V1.0.1 (2003-01-17) [umoeller] 96 */ 97 98 typedef struct _COUNTRYAMPM 99 { 100 CHAR sz2359[10], 101 sz1159[10]; 102 } COUNTRYAMPM, *PCOUNTRYAMPM; 103 104 /* 105 *@@ COUNTRYSETTINGS: 106 * second structure to finally get the AM/PM 107 * stuff right too. I suspect people have used 108 * this structure in XCenter DLLs and such so 109 * I cannot easily change it... hence a second 110 * one. 111 * 112 *@@changed V1.0.1 (2003-01-17) [umoeller] 113 */ 114 115 typedef struct _COUNTRYSETTINGS2 116 { 117 COUNTRYSETTINGS cs; 118 COUNTRYAMPM ampm; 119 } COUNTRYSETTINGS2, *PCOUNTRYSETTINGS2; 120 121 VOID XWPENTRY nlsQueryCountrySettings(PCOUNTRYSETTINGS2 pcs); 93 122 94 123 PSZ XWPENTRY nlsThousandsULong(PSZ pszTarget, ULONG ul, CHAR cThousands); … … 103 132 CHAR cThousands); 104 133 134 VOID XWPENTRY nlsDate(const COUNTRYSETTINGS2 *pcs2, 135 PSZ pszDate, 136 USHORT year, 137 BYTE month, 138 BYTE day); 139 140 VOID XWPENTRY nlsTime(const COUNTRYSETTINGS2 *pcs, 141 PSZ pszTime, 142 BYTE hours, 143 BYTE minutes, 144 BYTE seconds); 145 105 146 VOID XWPENTRY nlsFileDate(PSZ pszBuf, 106 FDATE *pfDate, 107 ULONG ulDateFormat, 108 CHAR cDateSep); 147 const FDATE *pfDate, 148 const COUNTRYSETTINGS2 *pcs); 109 149 110 150 VOID XWPENTRY nlsFileTime(PSZ pszBuf, 111 FTIME *pfTime, 112 ULONG ulTimeFormat, 113 CHAR cTimeSep); 151 const FTIME *pfTime, 152 const COUNTRYSETTINGS2 *pcs); 114 153 115 154 VOID XWPENTRY nlsDateTime(PSZ pszDate, 116 155 PSZ pszTime, 117 DATETIME *pDateTime,156 const DATETIME *pDateTime, 118 157 ULONG ulDateFormat, 119 158 CHAR cDateSep, … … 122 161 typedef VOID XWPENTRY NLSDATETIME(PSZ pszDate, 123 162 PSZ pszTime, 124 DATETIME *pDateTime,163 const DATETIME *pDateTime, 125 164 ULONG ulDateFormat, 126 165 CHAR cDateSep, … … 129 168 typedef NLSDATETIME *PNLSDATETIME; 130 169 131 ULONG nlsUpper(PSZ psz); 170 VOID XWPENTRY nlsDateTime2(PSZ pszDate, 171 PSZ pszTime, 172 const DATETIME *pDateTime, 173 const COUNTRYSETTINGS2 *pcs2); 174 typedef VOID XWPENTRY NLSDATETIME2(PSZ pszDate, 175 PSZ pszTime, 176 const DATETIME *pDateTime, 177 const COUNTRYSETTINGS2 *pcs2); 178 typedef NLSDATETIME2 *PNLSDATETIME2; 132 179 133 180 #endif 181 182 ULONG nlsUpper(PSZ psz); 134 183 135 184 #endif
Note:
See TracChangeset
for help on using the changeset viewer.