#keywords GetLocaleInfo,로캘,윈도우 {{{#!gcode WCHAR data[512] = {0,}; GetLocaleInfo(LOCALE_SYSTEM_DEFAULT, LOCALE_SNATIVELANGNAME, data, 512); AfxMessageBox(data); GetLocaleInfo(LOCALE_SYSTEM_DEFAULT, LOCALE_ICOUNTRY, data, 512); AfxMessageBox(data); }}} ---- 결과(한국어) {{{ 한국어 82 }}} 참고 {{{ "LOCALE_ILANGUAGE" = "0412"; "LOCALE_SLANGUAGE" = "한국어(Korean)"; "LOCALE_SABBREVLANGNAME" = "KOR"; "LOCALE_SNATIVELANGNAME" = "한국어"; "LOCALE_ICOUNTRY" = "82"; "LOCALE_SCOUNTRY" = "대한민국(Korea)"; "LOCALE_SABBREVCTRYNAME" = "KOR"; "LOCALE_SNATIVECTRYNAME" = "대한민국"; "LOCALE_IDEFAULTLANGUAGE" = "0412"; "LOCALE_IDEFAULTCOUNTRY" = "82"; "LOCALE_IDEFAULTCODEPAGE" = "949"; "LOCALE_SLIST" = ","; "LOCALE_IMEASURE" = "0"; "LOCALE_SDECIMAL" = "."; "LOCALE_STHOUSAND" = ","; "LOCALE_SGROUPING" = "3;0"; "LOCALE_IDIGITS" = "2"; "LOCALE_ILZERO" = "0"; "LOCALE_SNATIVEDIGITS" = "0123456789"; "LOCALE_SCURRENCY" = "₩"; "LOCALE_SINTLSYMBOL" = "KRW"; "LOCALE_SMONDECIMALSEP" = "."; "LOCALE_SMONTHOUSANDSEP" = ","; "LOCALE_SMONGROUPING" = "3;0"; "LOCALE_ICURRDIGITS" = "0"; "LOCALE_IINTLCURRDIGITS" = "2"; "LOCALE_ICURRENCY" = "0"; "LOCALE_INEGCURR" = "1"; "LOCALE_SDATE" = "-"; "LOCALE_STIME" = ":"; "LOCALE_SSHORTDATE" = "yy-MM-dd"; "LOCALE_SLONGDATE" = "yyyy년 M월 d일"; "LOCALE_IDATE" = "2"; "LOCALE_ILDATE" = "2"; "LOCALE_ITIME" = "1"; "LOCALE_ICENTURY" = "0"; "LOCALE_ITLZERO" = "1"; "LOCALE_IDAYLZERO" = "1"; "LOCALE_IMONLZERO" = "1"; "LOCALE_S1159" = "오전"; "LOCALE_S2359" = "오후"; "LOCALE_SDAYNAME1" = "월요일"; "LOCALE_SDAYNAME2" = "화요일"; "LOCALE_SDAYNAME3" = "수요일"; "LOCALE_SDAYNAME4" = "목요일"; "LOCALE_SDAYNAME5" = "금요일"; "LOCALE_SDAYNAME6" = "토요일"; "LOCALE_SDAYNAME7" = "일요일"; "LOCALE_SABBREVDAYNAME1" = "월"; "LOCALE_SABBREVDAYNAME2" = "화"; "LOCALE_SABBREVDAYNAME3" = "수"; "LOCALE_SABBREVDAYNAME4" = "목"; "LOCALE_SABBREVDAYNAME5" = "금"; "LOCALE_SABBREVDAYNAME6" = "토"; "LOCALE_SABBREVDAYNAME7" = "일"; "LOCALE_SMONTHNAME1" = "1월"; "LOCALE_SMONTHNAME2" = "2월"; "LOCALE_SMONTHNAME3" = "3월"; "LOCALE_SMONTHNAME4" = "4월"; "LOCALE_SMONTHNAME5" = "5월"; "LOCALE_SMONTHNAME6" = "6월"; "LOCALE_SMONTHNAME7" = "7월"; "LOCALE_SMONTHNAME8" = "8월"; "LOCALE_SMONTHNAME9" = "9월"; "LOCALE_SMONTHNAME10" = "10월"; "LOCALE_SMONTHNAME11" = "11월"; "LOCALE_SMONTHNAME12" = "12월"; "LOCALE_SABBREVMONTHNAME1" = "1월"; "LOCALE_SABBREVMONTHNAME2" = "2월"; "LOCALE_SABBREVMONTHNAME3" = "3월"; "LOCALE_SABBREVMONTHNAME4" = "4월"; "LOCALE_SABBREVMONTHNAME5" = "5월"; "LOCALE_SABBREVMONTHNAME6" = "6월"; "LOCALE_SABBREVMONTHNAME7" = "7월"; "LOCALE_SABBREVMONTHNAME8" = "8월"; "LOCALE_SABBREVMONTHNAME9" = "9월"; "LOCALE_SABBREVMONTHNAME10" = "10월"; "LOCALE_SABBREVMONTHNAME11" = "11월"; "LOCALE_SABBREVMONTHNAME12" = "12월"; "LOCALE_SPOSITIVESIGN" = ""; "LOCALE_SNEGATIVESIGN" = "-"; "LOCALE_IPOSSIGNPOSN" = "3"; "LOCALE_INEGSIGNPOSN" = "3"; "LOCALE_IPOSSYMPRECEDES" = "1"; "LOCALE_IPOSSEPBYSPACE" = "0"; "LOCALE_INEGSYMPRECEDES" = "1"; "LOCALE_INEGSEPBYSPACE" = "0"; "LOCALE_SENGCOUNTRY" = "Korea"; "LOCALE_SENGLANGUAGE" = "Korean"; "LOCALE_IFIRSTDAYOFWEEK" = "6"; "LOCALE_IFIRSTWEEKOFYEAR" = "0"; "LOCALE_IDEFAULTANSICODEPAGE" = "949"; "LOCALE_INEGNUMBER" = "1"; "LOCALE_STIMEFORMAT" = "HH:mm:ss"; "LOCALE_ITIMEMARKPOSN" = "0"; "LOCALE_ICALENDARTYPE" = "1"; "LOCALE_IOPTIONALCALENDAR" = "2"; "LOCALE_SMONTHNAME13" = ""; "LOCALE_SABBREVMONTHNAME13" = ""; }}} ---- CategoryDocument