mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
c424146e2c
svn path=/branches/cmake-bringup/; revision=48236
68 lines
1.4 KiB
C
68 lines
1.4 KiB
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include <cpl.h>
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <tchar.h>
|
|
#include <process.h>
|
|
|
|
typedef LONG (CALLBACK *CPLAPPLET_PROC)(VOID);
|
|
|
|
typedef struct
|
|
{
|
|
int idIcon;
|
|
int idName;
|
|
int idDescription;
|
|
CPLAPPLET_PROC AppletProc;
|
|
} APPLET, *PAPPLET;
|
|
|
|
extern HINSTANCE hApplet;
|
|
extern HANDLE hProcessHeap;
|
|
|
|
// Character Count of a layout ID like "00000409"
|
|
#define CCH_LAYOUT_ID 8
|
|
|
|
// Maximum Character Count of a ULONG in decimal
|
|
#define CCH_ULONG_DEC 10
|
|
|
|
/* input.c */
|
|
VOID
|
|
InitPropSheetPage(PROPSHEETPAGE *psp, WORD idDlg, DLGPROC DlgProc);
|
|
|
|
/* settings.c */
|
|
INT_PTR CALLBACK
|
|
SettingPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam);
|
|
BOOL
|
|
GetLayoutName(LPCTSTR szLCID, LPTSTR szName);
|
|
VOID
|
|
UpdateLayoutsList(VOID);
|
|
BOOL
|
|
IsLayoutExists(LPTSTR szLayoutID, LPTSTR szLangID);
|
|
|
|
/* keysettings.c */
|
|
INT_PTR CALLBACK
|
|
KeySettingsDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
|
|
VOID
|
|
UpdateKeySettingsList();
|
|
|
|
/* add.c */
|
|
INT_PTR CALLBACK
|
|
AddDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
|
|
VOID
|
|
CreateKeyboardLayoutList(HWND hItemsList);
|
|
INT
|
|
GetLayoutCount(LPTSTR szLang);
|
|
|
|
/* changekeyseq.c */
|
|
INT_PTR CALLBACK
|
|
ChangeKeySeqDlgProc(HWND hDlg,UINT message,WPARAM wParam,LPARAM lParam);
|
|
BOOL
|
|
GetHotkeys(LPTSTR szHotkey, LPTSTR szLangHotkey, LPTSTR szLayoutHotkey);
|
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
/* EOF */
|