Release 950522
[wine.git] / misc / ole2nls.c
blob68cbaa46198b431a872fac1ab244813985cb2d09
1 /*
2 * OLE2NLS library
4 * Copyright 1995 Martin von Loewis
5 */
7 /* At the moment, these are only empty stubs.
8 */
10 #include "windows.h"
11 #include "ole.h"
12 #include "stddebug.h"
13 #include "debug.h"
15 /***********************************************************************
16 * GetUserDefaultLCID (OLE2NLS.1)
18 DWORD WINAPI GetUserDefaultLCID()
20 /* Default sorting, neutral sublanguage */
21 #if #LANG(En)
22 return 9;
23 #elif #LANG(De)
24 return 7;
25 #elif #LANG(No)
26 return 0x14;
27 #else
28 /* Neutral language */
29 return 0;
30 #endif
33 /***********************************************************************
34 * GetSystemDefaultLCID (OLE2NLS.2)
36 DWORD WINAPI GetSystemDefaultLCID()
38 return GetUserDefaultLCID();
41 /***********************************************************************
42 * GetUserDefaultLangID (OLE2NLS.3)
44 WORD WINAPI GetUserDefaultLangID()
46 return (WORD)GetUserDefaultLCID();
49 /***********************************************************************
50 * GetSystemDefaultLangID (OLE2NLS.4)
52 WORD WINAPI GetSystemDefaultLangID()
54 return GetUserDefaultLangID();