Leaked source code of windows server 2003
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.

44 lines
1.7 KiB

  1. #ifndef __C_HWX_FAREAST_H__
  2. #define __C_HWX_FAREAST_H__
  3. class CHwxFE
  4. {
  5. public:
  6. static BOOL IsActiveIMEEnv(VOID);
  7. static LANGID GetAppLangID(VOID);
  8. static INT GetAppCodePage(VOID);
  9. #ifndef UNDER_CE
  10. static INT GetRecognizerFileName(HINSTANCE hInst, LPSTR lpstr, INT cchMax);
  11. #else // UNDER_CE
  12. static INT GetRecognizerFileName(HINSTANCE hInst, LPTSTR lpstr, INT cchMax);
  13. #endif // UNDER_CE
  14. static INT LoadStrWithLangId (LANGID langId,
  15. HINSTANCE hInst,
  16. INT id,
  17. LPWSTR lpwstr,
  18. INT cchMax);
  19. static INT GetTitleStringW (HINSTANCE hInst, LPWSTR lpwstr, INT cchMax);
  20. static INT GetDispFontW (HINSTANCE hInst, LPWSTR lpwstr, INT cchMax);
  21. static INT GetDispFontA (HINSTANCE hInst, LPSTR lpstr, INT cchMax);
  22. static INT GetInkExpTextW (HINSTANCE hInst, LPWSTR lpwstr, INT cchMax);
  23. static INT GetInkExpTextA (HINSTANCE hInst, LPSTR lpstr, INT cchMax);
  24. static INT GetListExpTextW (HINSTANCE hInst, LPWSTR lpwstr, INT cchMax);
  25. static INT GetListExpTextA (HINSTANCE hInst, LPSTR lpstr, INT cchMax);
  26. #ifdef UNDER_CE
  27. static INT GetHeaderStringW (HINSTANCE hInst, INT index, LPWSTR lpstr, INT cchMax);
  28. #endif // UNDER_CE
  29. static INT GetHeaderStringA (HINSTANCE hInst, INT index, LPSTR lpstr, INT cchMax);
  30. static INT ShowHelp (HWND hwnd);
  31. static INT HandleWmHelp (HWND hwnd, BOOL fCAC);
  32. static INT HandleWmContextMenu (HWND hwnd, BOOL fCAC);
  33. static INT GetTipText(WCHAR wch, LPWSTR lpwstrTip, INT cchMax, LPVOID lpSkdic);
  34. #ifndef UNDER_CE
  35. static HMENU GetMenu(HINSTANCE hInst, LPSTR lpstrRes);
  36. #else // UNDER_CE
  37. static HMENU GetMenu(HINSTANCE hInst, LPTSTR lpstrRes);
  38. #endif // UNDER_CE
  39. static BOOL Is16bitApplication(VOID);
  40. };
  41. #endif //__C_HWX_FAREAST_H__