comparison src/intl-auto-encap-win32.c @ 798:1f5108485fe7

[xemacs-hg @ 2002-03-29 18:26:33 by jhar] Fix win32 printing margins when machine is set up for metric units
author jhar
date Fri, 29 Mar 2002 18:26:49 +0000
parents 2923009caf47
children a5954632b187
comparison
equal deleted inserted replaced
797:776fcda0ee36 798:1f5108485fe7
8 8
9 #include <config.h> 9 #include <config.h>
10 #include "lisp.h" 10 #include "lisp.h"
11 11
12 #include "syswindows.h" 12 #include "syswindows.h"
13
14
15 /*----------------------------------------------------------------------*/
16 /* Processing file WINNLS.H */
17 /*----------------------------------------------------------------------*/
18
19 /* Error if GetCPInfoEx used: not used, not examined yet */
20
21 /* Error if CompareString used: not used, not examined yet */
22
23 /* Error if LCMapString used: not used, not examined yet */
24
25 int
26 qxeGetLocaleInfo (LCID Locale, LCTYPE LCType, Extbyte * lpLCData, int cchData)
27 {
28 if (XEUNICODE_P)
29 return GetLocaleInfoW (Locale, LCType, (LPWSTR) lpLCData, cchData);
30 else
31 return GetLocaleInfoA (Locale, LCType, (LPSTR) lpLCData, cchData);
32 }
33
34 BOOL
35 qxeSetLocaleInfo (LCID Locale, LCTYPE LCType, const Extbyte * lpLCData)
36 {
37 if (XEUNICODE_P)
38 return SetLocaleInfoW (Locale, LCType, (LPCWSTR) lpLCData);
39 else
40 return SetLocaleInfoA (Locale, LCType, (LPCSTR) lpLCData);
41 }
42
43 /* Error if GetTimeFormat used: not used, not examined yet */
44
45 /* Error if GetDateFormat used: not used, not examined yet */
46
47 /* Error if GetNumberFormat used: not used, not examined yet */
48
49 /* Error if GetCurrencyFormat used: not used, not examined yet */
50
51 /* Error if EnumCalendarInfo used: not used, not examined yet */
52
53 /* Error if EnumCalendarInfoEx used: not used, not examined yet */
54
55 /* Error if EnumTimeFormats used: not used, not examined yet */
56
57 /* Error if EnumDateFormats used: not used, not examined yet */
58
59 /* Error if EnumDateFormatsEx used: not used, not examined yet */
60
61 /* Error if GetStringTypeEx used: not used, not examined yet */
62
63 /* Error if FoldString used: not used, not examined yet */
64
65 /* Error if EnumSystemLocales used: not used, not examined yet */
66
67 /* Error if EnumSystemCodePages used: not used, not examined yet */
13 68
14 69
15 /*----------------------------------------------------------------------*/ 70 /*----------------------------------------------------------------------*/
16 /* Processing file WINSPOOL.H */ 71 /* Processing file WINSPOOL.H */
17 /*----------------------------------------------------------------------*/ 72 /*----------------------------------------------------------------------*/