Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.6 KiB

  1. /*************************************************
  2. * prop.h *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. #ifndef PROP_H
  8. #define PROP_H
  9. #include <windows.h>
  10. #include <prsht.h>
  11. #include <commdlg.h>
  12. #include "propshet.h"
  13. #include "conv.h"
  14. typedef LRESULT (*PFNMSG)(HWND,UINT,WPARAM,LPARAM);
  15. HANDLE hDlgless;
  16. HANDLE hRule, hImeKeyData;
  17. PFNMSG pfnmsg;
  18. BOOL bEndProp;
  19. FARPROC lpConvProc,lpUDMProc,lpRegProc;
  20. TCHAR szRuleStr[128];
  21. typedef struct tagImeKeyData {
  22. TCHAR ImeKey[10];
  23. } IMEKEY,FAR *LPIMEKEY;
  24. INT_PTR CALLBACK ConvDialogProc(HWND, UINT, WPARAM, LPARAM);
  25. INT_PTR CALLBACK ReConvDialogProc(HWND, UINT, WPARAM, LPARAM);
  26. INT_PTR CALLBACK SortDialogProc(HWND, UINT, WPARAM, LPARAM);
  27. INT_PTR CALLBACK UserDicDialogProc(HWND, UINT, WPARAM, LPARAM);
  28. INT_PTR APIENTRY About(HWND, UINT, WPARAM, LPARAM);
  29. INT_PTR APIENTRY CopyrightProc(HWND, UINT, WPARAM, LPARAM);
  30. INT_PTR CALLBACK AddWordDlg (HWND, UINT, WPARAM, LPARAM);
  31. INT_PTR CALLBACK ModiWordDlg(HWND, UINT, WPARAM, LPARAM);
  32. INT_PTR CALLBACK ModiRuleDlg(HWND, UINT, WPARAM, LPARAM);
  33. INT_PTR CALLBACK AddRuleDlg(HWND, UINT, WPARAM, LPARAM);
  34. INT_PTR APIENTRY InfoDlg(HWND, UINT, WPARAM, LPARAM);
  35. INT_PTR CALLBACK DispProp(HWND, UINT, WPARAM, LPARAM);
  36. INT_PTR CALLBACK CrtImeDlg(HWND, UINT, WPARAM, LPARAM);
  37. INT_PTR CALLBACK ConvEditProc(HWND, UINT, WPARAM, LPARAM);
  38. INT_PTR CALLBACK UDMEditProc(HWND, UINT, WPARAM, LPARAM);
  39. int DoPropertySheet(HWND);
  40. VOID ConvProc(LPVOID);
  41. VOID ReConvProc(LPVOID);
  42. VOID SortProc(LPVOID);
  43. void Init_OpenFile(HWND, LPOPENFILENAME);
  44. BOOL TxtFileOpenDlg(HWND , LPTSTR , LPTSTR );
  45. BOOL MBFileOpenDlg(HWND , LPTSTR , LPTSTR );
  46. BOOL RcFileOpenDlg(HWND , LPTSTR , LPTSTR );
  47. BOOL SaveTxtFileAs(HWND , LPTSTR );
  48. BOOL SaveTxtFile(HWND, LPTSTR);
  49. BOOL SaveEmb(HWND ,LPCTSTR );
  50. int GetImeRes(HWND ,LPIMERES);
  51. void GetDlgDescript(HWND ,LPDESCRIPTION );
  52. void SetDlgDescript(HWND ,LPDESCRIPTION );
  53. void SetReconvDlgDes(HWND ,LPDESCRIPTION );
  54. void SetDlgRuleStr(HWND ,WORD ,LPRULE );
  55. void GetDlgRule(HWND ,LPRULE ,LPWORD ,WORD );
  56. void DelSelRule(WORD ,WORD ,LPRULE );
  57. void SetConvDisable(HWND );
  58. void SetConvEnable(HWND);
  59. void SetReConvDisable(HWND );
  60. void SetReConvEnable(HWND);
  61. void SetUDMDisable(HWND );
  62. void SetUDMEnable(HWND);
  63. void FillObjectIme(HWND ,HANDLE);
  64. void SetValue(HWND ,WORD );
  65. void GetValue(HWND ,LPWORD );
  66. BOOL CheckMbUsed(HKEY, HWND, LPTSTR);
  67. void InstallConvSubClass(HWND );
  68. void InstallUDMSubClass(HWND );
  69. void GetImeTxtName(LPCTSTR , LPTSTR);
  70. #endif