2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-10-30 12:33:51 +00:00
|
|
|
|
2009-01-20 15:13:32 +00:00
|
|
|
#include <cpl.h>
|
|
|
|
|
2009-10-28 23:20:28 +00:00
|
|
|
#define DECIMAL_RADIX 10
|
|
|
|
|
|
|
|
/* limits */
|
|
|
|
#define MAX_FMT_SIZE 30
|
2007-09-02 20:42:08 +00:00
|
|
|
#define MAX_STR_SIZE 128
|
2009-10-28 23:20:28 +00:00
|
|
|
#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
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
typedef struct _APPLET
|
|
|
|
{
|
2008-02-23 17:48:50 +00:00
|
|
|
UINT idIcon;
|
|
|
|
UINT idName;
|
|
|
|
UINT idDescription;
|
|
|
|
APPLET_PROC AppletProc;
|
2004-10-30 12:33:51 +00:00
|
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
2007-09-10 20:46:27 +00:00
|
|
|
typedef struct _GLOBALDATA
|
|
|
|
{
|
|
|
|
LCID lcid;
|
|
|
|
} GLOBALDATA, *PGLOBALDATA;
|
|
|
|
|
2004-10-30 12:33:51 +00:00
|
|
|
extern HINSTANCE hApplet;
|
2007-08-29 20:13:27 +00:00
|
|
|
extern DWORD IsUnattendedSetupEnabled;
|
|
|
|
extern DWORD UnattendLCID;
|
2004-10-30 12:33:51 +00:00
|
|
|
|
2007-09-02 20:42:08 +00:00
|
|
|
/* intl.c */
|
|
|
|
|
|
|
|
/* languages.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
LanguagesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2007-10-19 23:21:45 +00:00
|
|
|
|
2007-09-02 20:42:08 +00:00
|
|
|
/* advanced.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2008-05-30 18:18:36 +00:00
|
|
|
VOID
|
|
|
|
SetNonUnicodeLang(HWND hwnd, LCID lcid);
|
2007-09-02 20:42:08 +00:00
|
|
|
|
2004-10-30 12:33:51 +00:00
|
|
|
/* currency.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
CurrencyPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
/* date.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
DatePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
/* general.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
/* locale.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
InpLocalePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
/* numbers.h */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
NumbersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
|
|
|
/* time.c */
|
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
TimePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2004-10-30 12:33:51 +00:00
|
|
|
|
2007-09-08 22:27:41 +00:00
|
|
|
/* sort.c */
|
|
|
|
BOOL
|
|
|
|
IsSortPageNeeded(LCID lcid);
|
2006-08-12 19:32:57 +00:00
|
|
|
|
2007-09-08 22:27:41 +00:00
|
|
|
INT_PTR CALLBACK
|
2008-02-23 17:48:50 +00:00
|
|
|
SortPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
2006-08-12 19:32:57 +00:00
|
|
|
|
2007-09-02 20:42:08 +00:00
|
|
|
/* misc.c */
|
2007-09-05 14:24:45 +00:00
|
|
|
LPTSTR
|
|
|
|
InsSpacesFmt(LPCTSTR szSourceStr, LPCTSTR szFmtStr);
|
2007-09-02 20:42:08 +00:00
|
|
|
|
2007-09-05 14:24:45 +00:00
|
|
|
LPTSTR
|
|
|
|
ReplaceSubStr(LPCTSTR szSourceStr, LPCTSTR szStrToReplace, LPCTSTR szTempl);
|
2007-09-02 20:42:08 +00:00
|
|
|
|
|
|
|
LONG
|
|
|
|
APIENTRY
|
2008-11-14 19:08:29 +00:00
|
|
|
SetupApplet(HWND hwndDlg, LCID lcid);
|
2007-09-02 20:42:08 +00:00
|
|
|
|
2009-01-20 15:13:32 +00:00
|
|
|
/* kblayouts.c */
|
|
|
|
VOID AddNewKbLayoutsByLcid(LCID Lcid);
|
|
|
|
|
2004-10-30 12:33:51 +00:00
|
|
|
/* EOF */
|