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.

71 lines
2.1 KiB

  1. //
  2. // fontlink.h
  3. //
  4. #ifndef FONTLINK_H
  5. #define FONTLINK_H
  6. #include "private.h"
  7. //
  8. // CodePages
  9. //
  10. #define CP_OEM_437 437
  11. #define CP_IBM852 852
  12. #define CP_IBM866 866
  13. #define CP_THAI 874
  14. #define CP_JAPAN 932
  15. #define CP_CHINA 936
  16. #define CP_KOREA 949
  17. #define CP_TAIWAN 950
  18. #define CP_EASTEUROPE 1250
  19. #define CP_RUSSIAN 1251
  20. #define CP_WESTEUROPE 1252
  21. #define CP_GREEK 1253
  22. #define CP_TURKISH 1254
  23. #define CP_HEBREW 1255
  24. #define CP_ARABIC 1256
  25. #define CP_BALTIC 1257
  26. #define CP_VIETNAMESE 1258
  27. #define CP_RUSSIANKOI8R 20866
  28. #define CP_RUSSIANKOI8RU 21866
  29. #define CP_ISOEASTEUROPE 28592
  30. #define CP_ISOTURKISH 28593
  31. #define CP_ISOBALTIC 28594
  32. #define CP_ISORUSSIAN 28595
  33. #define CP_ISOARABIC 28596
  34. #define CP_ISOGREEK 28597
  35. #define CP_JAPANNHK 50220
  36. #define CP_JAPANESC 50221
  37. #define CP_JAPANSIO 50222
  38. #define CP_KOREAISO 50225
  39. #define CP_JAPANEUC 51932
  40. #define CP_CHINAHZ 52936
  41. #define CP_MAC_ROMAN 10000
  42. #define CP_MAC_JAPAN 10001
  43. #define CP_MAC_GREEK 10006
  44. #define CP_MAC_CYRILLIC 10007
  45. #define CP_MAC_LATIN2 10029
  46. #define CP_MAC_TURKISH 10081
  47. #define CP_DEFAULT CP_ACP
  48. #define CP_GETDEFAULT GetACP()
  49. #define CP_JOHAB 1361
  50. #define CP_SYMBOL 42
  51. #define CP_UTF8 65001
  52. #define CP_UTF7 65000
  53. #define CP_UNICODELITTLE 1200
  54. #define CP_UNICODEBIG 1201
  55. #define OEM437_CHARSET 254
  56. BOOL FLExtTextOutW(HDC hdc, int xp, int yp, UINT eto, CONST RECT *lprect, LPCWSTR lpwch, UINT cLen, CONST INT *lpdxp);
  57. BOOL FLTextOutW(HDC hdc, int xp, int yp, LPCWSTR lpwch, int cLen);
  58. BOOL FLGetTextExtentPoint32(HDC hdc, LPCWSTR lpwch, int cch, LPSIZE lpSize);
  59. int FLDrawTextW(HDC hdc, LPCWSTR lpchText, int cchText, LPCRECT lprc, UINT format);
  60. int LoadStringWrapW(HINSTANCE hInstance, UINT uID, LPWSTR lpBuffer, int nBufferMax);
  61. int FLDrawTextWVert(HDC hdc, LPCWSTR lpchText, int cchText, LPCRECT lprc, UINT format);
  62. #endif // FONTLINK_H