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.

38 lines
1.1 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: StrUtils.h
  6. * Content: Defines the string utils
  7. *@@BEGIN_MSINTERNAL
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 02/12/2000 rmt Created
  12. *@@END_MSINTERNAL
  13. *
  14. ***************************************************************************/
  15. #ifndef __STRUTILS_H
  16. #define __STRUTILS_H
  17. HRESULT STR_jkWideToAnsi(LPSTR lpStr,LPCWSTR lpWStr,int cchStr);
  18. HRESULT STR_jkAnsiToWide(LPWSTR lpWStr,LPCSTR lpStr,int cchWStr);
  19. #ifndef WINCE
  20. HRESULT STR_AllocAndConvertToANSI(LPSTR * ppszAnsi,LPCWSTR lpszWide);
  21. HRESULT STR_WideToAnsi( const WCHAR *const pWCHARString,
  22. const DWORD dwWCHARStringLength,
  23. char *const pString,
  24. DWORD *const pdwStringLength );
  25. HRESULT STR_AnsiToWide( const char *const pString,
  26. const DWORD dwStringLength,
  27. WCHAR *const pWCHARString,
  28. DWORD *const pdwWCHARStringLength );
  29. #endif // !WINCE
  30. #endif // __STRUTILS_H