Changeset 249 for trunk/src/helpers/nls.c
- Timestamp:
- Feb 8, 2003, 9:57:38 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/nls.c
r243 r249 88 88 COUNTRYCODE G_cc = { 0, 0 }; 89 89 DBCSVECTOR G_aDBCSVector[8]; 90 91 /* 92 *@@ nlsQueryCodepage: 93 * returns the current process codepage as a ULONG. 94 * 95 *@@added V1.0.2 (2003-02-07) [umoeller] 96 */ 97 98 ULONG nlsQueryCodepage(VOID) 99 { 100 ULONG acp[8]; 101 ULONG cb = 0; 102 if (DosQueryCp(sizeof(acp), 103 acp, 104 &cb)) 105 return 437; // I think this is still the system default 106 107 return acp[0]; 108 } 90 109 91 110 /*
Note:
See TracChangeset
for help on using the changeset viewer.