reactos/dll/cpl/intl/intl.h
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

115 lines
2.4 KiB
C

#include <windows.h>
#include <cpl.h>
#include <commctrl.h>
#include <setupapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <prsht.h>
#include <malloc.h>
#include <debug.h>
#include "resource.h"
#define DECIMAL_RADIX 10
/* Limits */
#define MAX_FMT_SIZE 30
#define MAX_STR_SIZE 128
#define MAX_SAMPLES_STR_SIZE 70
#define MAX_NUMBERDSYMBOL 3
#define MAX_NUMBERSDIGITGRSYM 3
#define MAX_NUMBERSNSIGNSYM 4
#define MAX_NUMBERSLSEP 3
#define MAX_CURRENCYSYMBOL 5
#define MAX_CURRENCYDECSEP 3
#define MAX_CURRENCYGRPSEP 3
#define MAX_TIMEFORMAT 80
#define MAX_TIMESEPARATOR 3
#define MAX_TIMEAMSYMBOL 12
#define MAX_TIMEPMSYMBOL 12
#define MAX_SHRTDATEFMT 80
#define MAX_SHRTDATESEP 3
#define MAX_LONGDATEFMT 80
#define MAX_YEAR_EDIT 4
typedef struct _APPLET
{
UINT idIcon;
UINT idName;
UINT idDescription;
APPLET_PROC AppletProc;
} APPLET, *PAPPLET;
typedef struct _GLOBALDATA
{
LCID lcid;
} GLOBALDATA, *PGLOBALDATA;
extern HINSTANCE hApplet;
extern DWORD IsUnattendedSetupEnabled;
extern DWORD UnattendLCID;
/* intl.c */
/* languages.c */
INT_PTR CALLBACK
LanguagesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* advanced.c */
INT_PTR CALLBACK
AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
VOID
SetNonUnicodeLang(HWND hwnd, LCID lcid);
/* currency.c */
INT_PTR CALLBACK
CurrencyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* date.c */
INT_PTR CALLBACK
DatePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* general.c */
INT_PTR CALLBACK
GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* locale.c */
INT_PTR CALLBACK
InpLocalePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* numbers.h */
INT_PTR CALLBACK
NumbersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* time.c */
INT_PTR CALLBACK
TimePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* sort.c */
BOOL
IsSortPageNeeded(LCID lcid);
INT_PTR CALLBACK
SortPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* misc.c */
LPTSTR
InsSpacesFmt(LPCTSTR szSourceStr, LPCTSTR szFmtStr);
LPTSTR
ReplaceSubStr(LPCTSTR szSourceStr, LPCTSTR szStrToReplace, LPCTSTR szTempl);
LONG
APIENTRY
SetupApplet(HWND hwndDlg, LCID lcid);
/* kblayouts.c */
VOID AddNewKbLayoutsByLcid(LCID Lcid);
/* EOF */