cb (ULONG) - input
A length value of 40 bytes is sufficient.
pcc (PCOUNTRYCODE) - input
If country is set to 0, the country information for the default system country code is used.
If codepage is set to 0, the country information for the current process code page of the caller is used.
Refer to the COUNTRYCODE for a table of values for country code and code page identifier.
pci (PCOUNTRYINFO) - output
The caller provides this data area. The input parameter cb specifies the size of this area.
If this area is too small to hold all of the available information, then as much information as possible is provided in the available space (in the order in which the data would appear). If the amount of data returned is not enough to fill the memory area provided by the caller, then the memory that is unaltered by the available data is zeroed out. The format of the information returned in this buffer is as follows:
codepage is reserved, and must be set to 0.
pcbActual (PULONG) - output
ulrc (APIRET) - returns
DosQueryCtryInfo returns one of the following values: