#include <windows.h>
#include "errors.h"
#include "win32debug.h"
#include "HsFFI.h"
extern DWORD prim_lOCALE_SYSTEM_DEFAULT();
extern DWORD prim_lOCALE_USER_DEFAULT();
extern DWORD prim_lOCALE_NEUTRAL();
extern DWORD prim_convertDefaultLocale(DWORD arg1);
extern UINT prim_cP_ACP();
extern UINT prim_cP_MACCP();
extern UINT prim_cP_OEMCP();
extern UINT prim_getACP();
extern void prim_setThreadLocale(DWORD arg1);
extern UINT prim_lOCALE_ICALENDARTYPE();
extern UINT prim_lOCALE_SDATE();
extern UINT prim_lOCALE_ICURRDIGITS();
extern UINT prim_lOCALE_SDECIMAL();
extern UINT prim_lOCALE_ICURRENCY();
extern UINT prim_lOCALE_SGROUPING();
extern UINT prim_lOCALE_IDIGITS();
extern UINT prim_lOCALE_SLIST();
extern UINT prim_lOCALE_IFIRSTDAYOFWEEK();
extern UINT prim_lOCALE_SLONGDATE();
extern UINT prim_lOCALE_IFIRSTWEEKOFYEAR();
extern UINT prim_lOCALE_SMONDECIMALSEP();
extern UINT prim_lOCALE_ILZERO();
extern UINT prim_lOCALE_SMONGROUPING();
extern UINT prim_lOCALE_IMEASURE();
extern UINT prim_lOCALE_SMONTHOUSANDSEP();
extern UINT prim_lOCALE_INEGCURR();
extern UINT prim_lOCALE_SNEGATIVESIGN();
extern UINT prim_lOCALE_INEGNUMBER();
extern UINT prim_lOCALE_SPOSITIVESIGN();
extern UINT prim_lOCALE_SSHORTDATE();
extern UINT prim_lOCALE_ITIME();
extern UINT prim_lOCALE_STHOUSAND();
extern UINT prim_lOCALE_S1159();
extern UINT prim_lOCALE_STIME();
extern UINT prim_lOCALE_S2359();
extern UINT prim_lOCALE_STIMEFORMAT();
extern UINT prim_lOCALE_SCURRENCY();
extern void* prim_setLocaleInfo(DWORD arg1,UINT arg2);
extern char * access_prim_setLocaleInfo_gc_res2(HsPtr);
extern int access_prim_setLocaleInfo_gc_failed(HsPtr);
extern void* access_prim_setLocaleInfo_gc_failstring(HsPtr);
extern DWORD prim_lCMAP_BYTEREV();
extern DWORD prim_lCMAP_FULLWIDTH();
extern DWORD prim_lCMAP_HALFWIDTH();
extern DWORD prim_lCMAP_HIRAGANA();
extern DWORD prim_lCMAP_KATAKANA();
extern DWORD prim_lCMAP_LOWERCASE();
extern DWORD prim_lCMAP_SORTKEY();
extern DWORD prim_lCMAP_UPPERCASE();
extern DWORD prim_nORM_IGNORECASE();
extern DWORD prim_nORM_IGNORENONSPACE();
extern DWORD prim_nORM_IGNOREKANATYPE();
extern DWORD prim_nORM_IGNORESYMBOLS();
extern DWORD prim_nORM_IGNOREWIDTH();
extern DWORD prim_sORT_STRINGSORT();
extern DWORD prim_lCMAP_LINGUISTIC_CASING();
extern DWORD prim_lCMAP_SIMPLIFIED_CHINESE();
extern DWORD prim_lCMAP_TRADITIONAL_CHINESE();
extern void* prim_lCMapString(DWORD arg1,DWORD arg2,char * arg3,int arg3_len,int arg4);
extern char * access_prim_lCMapString_gc_res2(HsPtr);
extern int access_prim_lCMapString_gc_failed(HsPtr);
extern void* access_prim_lCMapString_gc_failstring(HsPtr);
extern DWORD prim_lCID_INSTALLED();
extern DWORD prim_lCID_SUPPORTED();
extern int prim_isValidLocale(DWORD arg1,DWORD arg2);
extern int prim_isValidCodePage(UINT arg1);
extern DWORD prim_getUserDefaultLCID();
extern WORD prim_getUserDefaultLangID();
extern DWORD prim_getThreadLocale();
extern DWORD prim_getSystemDefaultLCID();
extern WORD prim_getSystemDefaultLangID();
extern UINT prim_getOEMCP();
extern WORD prim_lANGIDFROMLCID(DWORD arg1);
extern WORD prim_lANG_NEUTRAL();
extern WORD prim_lANG_BULGARIAN();
extern WORD prim_lANG_CHINESE();
extern WORD prim_lANG_CZECH();
extern WORD prim_lANG_DANISH();
extern WORD prim_lANG_GERMAN();
extern WORD prim_lANG_GREEK();
extern WORD prim_lANG_ENGLISH();
extern WORD prim_lANG_SPANISH();
extern WORD prim_lANG_FINNISH();
extern WORD prim_lANG_FRENCH();
extern WORD prim_lANG_HUNGARIAN();
extern WORD prim_lANG_ICELANDIC();
extern WORD prim_lANG_ITALIAN();
extern WORD prim_lANG_JAPANESE();
extern WORD prim_lANG_KOREAN();
extern WORD prim_lANG_DUTCH();
extern WORD prim_lANG_NORWEGIAN();
extern WORD prim_lANG_POLISH();
extern WORD prim_lANG_PORTUGUESE();
extern WORD prim_lANG_ROMANIAN();
extern WORD prim_lANG_RUSSIAN();
extern WORD prim_lANG_CROATIAN();
extern WORD prim_lANG_SLOVAK();
extern WORD prim_lANG_SWEDISH();
extern WORD prim_lANG_TURKISH();
extern WORD prim_lANG_SLOVENIAN();
extern WORD prim_lANG_ARABIC();
extern WORD prim_lANG_CATALAN();
extern WORD prim_lANG_HEBREW();
extern WORD prim_lANG_SERBIAN();
extern WORD prim_lANG_ALBANIAN();
extern WORD prim_lANG_THAI();
extern WORD prim_lANG_URDU();
extern WORD prim_lANG_INDONESIAN();
extern WORD prim_lANG_BELARUSIAN();
extern WORD prim_lANG_ESTONIAN();
extern WORD prim_lANG_LATVIAN();
extern WORD prim_lANG_LITHUANIAN();
extern WORD prim_lANG_FARSI();
extern WORD prim_lANG_VIETNAMESE();
extern WORD prim_lANG_ARMENIAN();
extern WORD prim_lANG_AZERI();
extern WORD prim_lANG_BASQUE();
extern WORD prim_lANG_MACEDONIAN();
extern WORD prim_lANG_AFRIKAANS();
extern WORD prim_lANG_GEORGIAN();
extern WORD prim_lANG_FAEROESE();
extern WORD prim_lANG_HINDI();
extern WORD prim_lANG_MALAY();
extern WORD prim_lANG_KAZAK();
extern WORD prim_lANG_SWAHILI();
extern WORD prim_lANG_UZBEK();
extern WORD prim_lANG_TATAR();
extern WORD prim_lANG_BENGALI();
extern WORD prim_lANG_PUNJABI();
extern WORD prim_lANG_GUJARATI();
extern WORD prim_lANG_ORIYA();
extern WORD prim_lANG_TAMIL();
extern WORD prim_lANG_TELUGU();
extern WORD prim_lANG_KANNADA();
extern WORD prim_lANG_MALAYALAM();
extern WORD prim_lANG_ASSAMESE();
extern WORD prim_lANG_MARATHI();
extern WORD prim_lANG_SANSKRIT();
extern WORD prim_lANG_KONKANI();
extern WORD prim_lANG_MANIPURI();
extern WORD prim_lANG_SINDHI();
extern WORD prim_lANG_KASHMIRI();
extern WORD prim_lANG_NEPALI();
extern WORD prim_mAKELANGID(WORD arg1,WORD arg2);
extern DWORD prim_mAKELCID(WORD arg1,WORD arg2);
extern WORD prim_pRIMARYLANGID(WORD arg1);
extern WORD prim_sUBLANGID(WORD arg1);
extern WORD prim_sORTIDFROMLCID(DWORD arg1);
extern WORD prim_sORT_DEFAULT();
extern WORD prim_sORT_JAPANESE_XJIS();
extern WORD prim_sORT_JAPANESE_UNICODE();
extern WORD prim_sORT_CHINESE_BIG5();
extern WORD prim_sORT_CHINESE_UNICODE();
extern WORD prim_sORT_KOREAN_KSC();
extern WORD prim_sORT_KOREAN_UNICODE();
extern WORD prim_sUBLANG_NEUTRAL();
extern WORD prim_sUBLANG_DEFAULT();
extern WORD prim_sUBLANG_SYS_DEFAULT();
extern WORD prim_sUBLANG_CHINESE_TRADITIONAL();
extern WORD prim_sUBLANG_CHINESE_SIMPLIFIED();
extern WORD prim_sUBLANG_CHINESE_HONGKONG();
extern WORD prim_sUBLANG_CHINESE_SINGAPORE();
extern WORD prim_sUBLANG_DUTCH();
extern WORD prim_sUBLANG_DUTCH_BELGIAN();
extern WORD prim_sUBLANG_ENGLISH_US();
extern WORD prim_sUBLANG_ENGLISH_UK();
extern WORD prim_sUBLANG_ENGLISH_AUS();
extern WORD prim_sUBLANG_ENGLISH_CAN();
extern WORD prim_sUBLANG_ENGLISH_NZ();
extern WORD prim_sUBLANG_ENGLISH_EIRE();
extern WORD prim_sUBLANG_FRENCH();
extern WORD prim_sUBLANG_FRENCH_BELGIAN();
extern WORD prim_sUBLANG_FRENCH_CANADIAN();
extern WORD prim_sUBLANG_FRENCH_SWISS();
extern WORD prim_sUBLANG_GERMAN();
extern WORD prim_sUBLANG_GERMAN_SWISS();
extern WORD prim_sUBLANG_GERMAN_AUSTRIAN();
extern WORD prim_sUBLANG_ITALIAN();
extern WORD prim_sUBLANG_ITALIAN_SWISS();
extern WORD prim_sUBLANG_NORWEGIAN_BOKMAL();
extern WORD prim_sUBLANG_NORWEGIAN_NYNORSK();
extern WORD prim_sUBLANG_PORTUGUESE();
extern WORD prim_sUBLANG_PORTUGUESE_BRAZILIAN();
extern WORD prim_sUBLANG_SPANISH();
extern WORD prim_sUBLANG_SPANISH_MEXICAN();
extern WORD prim_sUBLANG_SPANISH_MODERN();
extern WORD prim_sUBLANG_ARABIC_SAUDI_ARABIA();
extern WORD prim_sUBLANG_ARABIC_IRAQ();
extern WORD prim_sUBLANG_ARABIC_EGYPT();
extern WORD prim_sUBLANG_ARABIC_LIBYA();
extern WORD prim_sUBLANG_ARABIC_ALGERIA();
extern WORD prim_sUBLANG_ARABIC_MOROCCO();
extern WORD prim_sUBLANG_ARABIC_TUNISIA();
extern WORD prim_sUBLANG_ARABIC_OMAN();
extern WORD prim_sUBLANG_ARABIC_YEMEN();
extern WORD prim_sUBLANG_ARABIC_SYRIA();
extern WORD prim_sUBLANG_ARABIC_JORDAN();
extern WORD prim_sUBLANG_ARABIC_LEBANON();
extern WORD prim_sUBLANG_ARABIC_KUWAIT();
extern WORD prim_sUBLANG_ARABIC_UAE();
extern WORD prim_sUBLANG_ARABIC_BAHRAIN();
extern WORD prim_sUBLANG_ARABIC_QATAR();
extern WORD prim_sUBLANG_AZERI_CYRILLIC();
extern WORD prim_sUBLANG_AZERI_LATIN();
extern WORD prim_sUBLANG_CHINESE_MACAU();
extern WORD prim_sUBLANG_ENGLISH_SOUTH_AFRICA();
extern WORD prim_sUBLANG_ENGLISH_JAMAICA();
extern WORD prim_sUBLANG_ENGLISH_CARIBBEAN();
extern WORD prim_sUBLANG_ENGLISH_BELIZE();
extern WORD prim_sUBLANG_ENGLISH_TRINIDAD();
extern WORD prim_sUBLANG_ENGLISH_PHILIPPINES();
extern WORD prim_sUBLANG_ENGLISH_ZIMBABWE();
extern WORD prim_sUBLANG_FRENCH_LUXEMBOURG();
extern WORD prim_sUBLANG_FRENCH_MONACO();
extern WORD prim_sUBLANG_GERMAN_LUXEMBOURG();
extern WORD prim_sUBLANG_GERMAN_LIECHTENSTEIN();
extern WORD prim_sUBLANG_KASHMIRI_INDIA();
extern WORD prim_sUBLANG_KOREAN();
extern WORD prim_sUBLANG_LITHUANIAN();
extern WORD prim_sUBLANG_MALAY_MALAYSIA();
extern WORD prim_sUBLANG_MALAY_BRUNEI_DARUSSALAM();
extern WORD prim_sUBLANG_NEPALI_INDIA();
extern WORD prim_sUBLANG_SERBIAN_LATIN();
extern WORD prim_sUBLANG_SERBIAN_CYRILLIC();
extern WORD prim_sUBLANG_SPANISH_GUATEMALA();
extern WORD prim_sUBLANG_SPANISH_COSTA_RICA();
extern WORD prim_sUBLANG_SPANISH_PANAMA();
extern WORD prim_sUBLANG_SPANISH_DOMINICAN_REPUBLIC();
extern WORD prim_sUBLANG_SPANISH_VENEZUELA();
extern WORD prim_sUBLANG_SPANISH_COLOMBIA();
extern WORD prim_sUBLANG_SPANISH_PERU();
extern WORD prim_sUBLANG_SPANISH_ARGENTINA();
extern WORD prim_sUBLANG_SPANISH_ECUADOR();
extern WORD prim_sUBLANG_SPANISH_CHILE();
extern WORD prim_sUBLANG_SPANISH_URUGUAY();
extern WORD prim_sUBLANG_SPANISH_PARAGUAY();
extern WORD prim_sUBLANG_SPANISH_BOLIVIA();
extern WORD prim_sUBLANG_SPANISH_EL_SALVADOR();
extern WORD prim_sUBLANG_SPANISH_HONDURAS();
extern WORD prim_sUBLANG_SPANISH_NICARAGUA();
extern WORD prim_sUBLANG_SPANISH_PUERTO_RICO();
extern WORD prim_sUBLANG_SWEDISH();
extern WORD prim_sUBLANG_SWEDISH_FINLAND();
extern WORD prim_sUBLANG_URDU_PAKISTAN();
extern WORD prim_sUBLANG_URDU_INDIA();
extern WORD prim_sUBLANG_UZBEK_LATIN();
extern WORD prim_sUBLANG_UZBEK_CYRILLIC();
