Obtains a DBCS (double-byte character set) environmental vector that resides in the country file.

#define INCL_DOSNLS
#include <os2.h>

ULONG           cb;    /*  The length, in bytes, of the data area (pBuf) provided by the caller. */
PCOUNTRYCODE    pcc;   /*  A pointer to the COUNTRYCODE structure in which the country code and code page are identified. */
PCHAR           pBuf;  /*  The data area where the country-dependent information for the DBCS environmental vector is returned. */
APIRET          ulrc;  /*  Return Code. */

ulrc = DosQueryDBCSEnv(cb, pcc, pBuf);


[Back] [Next]