Obtains country-dependent formatting information that resides in the country file.

#define INCL_DOSNLS
#include <os2.h>

ULONG           cb;         /*  The length, in bytes, of the data area (pci) provided by the caller. */
PCOUNTRYCODE    pcc;        /*  Pointer to the COUNTRYCODE structure in which the country code and code page are identified. */
PCOUNTRYINFO    pci;        /*  A pointer to the COUNTRYINFO in which the country-dependent information is placed. */
PULONG          pcbActual;  /*  A pointer to a ULONG in which country-dependent data is returned. */
APIRET          ulrc;       /*  Return Code. */

ulrc = DosQueryCtryInfo(cb, pcc, pci, pcbActual);


[Back] [Next]