Changeset 6646 for trunk/src/kernel32/codepage.cpp
- Timestamp:
- Sep 5, 2001, 2:58:00 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/codepage.cpp
r5764 r6646 1 /* 1 /* $Id: codepage.cpp,v 1.17 2001-09-05 12:57:58 bird Exp $ 2 * 2 3 * Code page functions 3 4 * 4 5 * Based on Wine code (memory\codepage.c) 5 * 6 * 6 7 * Copyright 2000 Alexandre Julliard 7 8 * … … 25 26 #include "codepage.h" 26 27 27 #define DBG_LOCALLOG 28 #define DBG_LOCALLOG DBG_codepage 28 29 #include "dbglocal.h" 29 30 #endif … … 92 93 93 94 if (!ansi_cptable) init_codepages(); /* just in case */ 94 95 95 96 if ((table = get_locale_cp( lcid, LOCALE_IDEFAULTANSICODEPAGE ))) ansi_cptable = table; 96 97 if ((table = get_locale_cp( lcid, LOCALE_IDEFAULTMACCODEPAGE ))) mac_cptable = table; … … 197 198 #endif 198 199 199 if (!table) 200 if (!table) 200 201 { 201 202 SetLastError( ERROR_INVALID_PARAMETER ); … … 366 367 * dstlen [in] Length of destination buffer 367 368 * defchar [in] Default character to use for conversion if no exact 368 * 369 * conversion can be made 369 370 * used [out] Set if default character was used in the conversion 370 371 *
Note:
See TracChangeset
for help on using the changeset viewer.