home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / Profiler / heapmon / utf8.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-04  |  471 b   |  25 lines

  1. // utf8.hpp
  2. //
  3. // Created 12/09/97
  4. //
  5. // (C)Copyright 1997-1999 Microsoft Corporation, All rights reserved.
  6. //
  7.  
  8. #ifndef __UTF8_HPP__
  9. #define __UTF8_HPP__
  10.  
  11.  
  12. typedef CHAR *PUTF8;
  13. typedef CCHAR *PCUTF8;
  14.  
  15.  
  16. VOID Utf8ToUnicode (LPCSTR  pUtf, int cbUtf, LPWSTR pwsz);
  17. HRESULT Utf8ToUnicode (LPCSTR pUtf,LPWSTR *ppwsz);
  18. HRESULT CoUtf8ToUnicode (LPCSTR pUtf, LPWSTR *ppwsz);
  19.  
  20. HRESULT Utf8ToAnsi (PCUTF8  pUtf, LPSTR  *ppAnsi);
  21.  
  22.  
  23. #endif /* __UTF8_HPP__ */
  24.  
  25.