DosGetCtryInfo
DosGetCtryInfo
COUNTRYCODE struc
ctryc_country dw ? ;country code
ctryc_codepage dw ? ;code page
COUNTRYCODE ends
COUNTRYINFO struc
ctryi_country dw ? ;country code
ctryi_codepage dw ? ;code page
ctryi_fsDateFmt dw ? ;date format
ctryi_szCurrency db 5 dup (?) ;currency indicator
ctryi_szThousandsSeparator db 2 dup (?) ;thousands separator
ctryi_szDecimal db 2 dup (?) ;decimal separator
ctryi_szDateSeparator db 2 dup (?) ;date separator
ctryi_szTimeSeparator db 2 dup (?) ;time separator
ctryi_fsCurrencyFmt db ? ;bit fields for currency format
ctryi_cDecimalPlace db ? ;currency decimal places
ctryi_fsTimeFmt db ? ;Time format (AM/PM or 24 hr)
ctryi_abReserved1 dw 2 dup (?) ;reserved (0)
ctryi_szDataSeparator db 2 dup (?) ;Data list separator
ctryi_abReserved2 dw 5 dup (?) ;reserved (0)
COUNTRYINFO ends
EXTRN DosGetCtryInfo:FAR
INCL_DOSNLS EQU 1
PUSH WORD Length ;Length of data area provided
PUSH@ OTHER Structure ;Input data structure
PUSH@ OTHER MemoryBuffer ;Country information (returned)
PUSH@ WORD DataLength ;Length of data (returned)
CALL DosGetCtryInfo
Returns WORD
[Back: DosGetCp]
[Next: DosGetDateTime]