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.

83 lines
1.5 KiB

  1. #include "shellpch.h"
  2. #pragma hdrstop
  3. #include <objbase.h>
  4. #include <mlang.h>
  5. #undef STDAPI
  6. #define STDAPI HRESULT STDAPICALLTYPE
  7. static
  8. STDAPI
  9. ConvertINetUnicodeToMultiByte(
  10. LPDWORD lpdwMode,
  11. DWORD dwEncoding,
  12. LPCWSTR lpSrcStr,
  13. LPINT lpnWideCharCount,
  14. LPSTR lpDstStr,
  15. LPINT lpnMultiCharCount
  16. )
  17. {
  18. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  19. }
  20. static
  21. STDAPI
  22. ConvertINetMultiByteToUnicode(
  23. LPDWORD lpdwMode,
  24. DWORD dwEncoding,
  25. LPCSTR lpSrcStr,
  26. LPINT lpnMultiCharCount,
  27. LPWSTR lpDstStr,
  28. LPINT lpnWideCharCount)
  29. {
  30. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  31. }
  32. static
  33. STDAPI
  34. LcidToRfc1766A(
  35. LCID Locale,
  36. LPSTR pszRfc1766,
  37. int iMaxLength)
  38. {
  39. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  40. }
  41. static
  42. STDAPI
  43. Rfc1766ToLcidW(
  44. LCID *pLocale,
  45. LPCWSTR pszRfc1766
  46. )
  47. {
  48. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  49. }
  50. static
  51. STDAPI
  52. LcidToRfc1766W(
  53. LCID Locale,
  54. LPWSTR pszRfc1766,
  55. int nChar
  56. )
  57. {
  58. return HRESULT_FROM_WIN32(ERROR_PROC_NOT_FOUND);
  59. }
  60. //
  61. // !! WARNING !! The entries below must be in order by ORDINAL
  62. //
  63. DEFINE_ORDINAL_ENTRIES(mlang)
  64. {
  65. DLOENTRY(112, ConvertINetUnicodeToMultiByte)
  66. DLOENTRY(113, ConvertINetMultiByteToUnicode)
  67. DLOENTRY(120, LcidToRfc1766A)
  68. DLOENTRY(121, LcidToRfc1766W)
  69. DLOENTRY(123, Rfc1766ToLcidW)
  70. };
  71. DEFINE_ORDINAL_MAP(mlang)