Ignore:
Timestamp:
Feb 8, 2003, 9:57:38 PM (23 years ago)
Author:
umoeller
Message:

Build updates, moved files from warpin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/nls.c

    r243 r249  
    8888COUNTRYCODE G_cc = { 0, 0 };
    8989DBCSVECTOR  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
     98ULONG 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}
    90109
    91110/*
Note: See TracChangeset for help on using the changeset viewer.