OS/2 NLS API Differences

The following describes the implementation differences between the OS2Linux library and the real OS/2 NLS APIs.

These APIs are included in your application by including the following definition in your application source file.

#define INCL_DOSNLS

DosQueryCtryInfo

APIRET APIENTRY DosQueryCtryInfo(ULONG cb, PCOUNTRYCODE pcc,
                                 PCOUNTRYINFO pci, PULONG pcbActual);

DosQueryDBCSEnv

APIRET APIENTRY DosQueryDBCSEnv(ULONG cb, PCOUNTRYCODE pcc, PCHAR pBuf);

DosMapCase

APIRET APIENTRY DosMapCase(ULONG cb, PCOUNTRYCODE pcc, PCHAR pch);

DosQueryCollate

APIRET APIENTRY DosQueryCollate(ULONG cb, PCOUNTRYCODE pcc, PCHAR pch,
                                 PULONG pcch);

DosQueryCp

APIRET APIENTRY DosQueryCp(ULONG cb, PULONG arCP, PULONG pcCP);

DosSetProcessCp

APIRET APIENTRY DosSetProcessCp(ULONG cp);