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.

28 lines
932 B

  1. /*++
  2. Copyright (c) 1991-2001, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. utf.h
  5. Abstract:
  6. This file contains the header information for the UTF module of NLS.
  7. Revision History:
  8. 02-06-96 JulieB Created.
  9. 01-23-01 v-michka Ported to Godot
  10. --*/
  11. // v-michka: the one define we need from nls.h!
  12. #define NLS_CP_ALGORITHM_RANGE 60000 // begin code page Algorithm range
  13. // v-michka: Some random forward declares that really ought to go elsewhere
  14. int UTFToUnicode(UINT CodePage,DWORD dwFlags,LPCSTR lpMultiByteStr,int cbMultiByte,LPWSTR lpWideCharStr,int cchWideChar);
  15. int UnicodeToUTF(UINT CodePage,DWORD dwFlags,LPCWSTR lpWideCharStr,int cchWideChar,LPSTR lpMultiByteStr,int cbMultiByte,LPCSTR lpDefaultChar,LPBOOL lpUsedDefaultChar);
  16. BOOL UTFCPInfo(UINT CodePage,LPCPINFO lpCPInfo,BOOL fExVer);
  17. // moved almost everything to utf.c except the bare stuff needed for external callers