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.

39 lines
497 B

  1. int
  2. AnsiToUnicodeString(
  3. LPSTR pAnsi,
  4. LPWSTR pUnicode,
  5. DWORD StringLength
  6. );
  7. int
  8. UnicodeToAnsiString(
  9. LPWSTR pUnicode,
  10. LPSTR pAnsi,
  11. DWORD StringLength
  12. );
  13. LPWSTR
  14. AllocateUnicodeString(
  15. LPSTR pAnsiString
  16. );
  17. void
  18. FreeUnicodeString(
  19. LPWSTR pUnicodeString
  20. );
  21. DWORD
  22. ComputeMaxStrlenW(
  23. LPWSTR pString,
  24. DWORD cchBufMax
  25. );
  26. DWORD
  27. ComputeMaxStrlenA(
  28. LPSTR pString,
  29. DWORD cchBufMax
  30. );