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.

47 lines
983 B

  1. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
  2. //
  3. // string.h
  4. //
  5. // String functions used by cdfview that are not in shlwapi.h.
  6. //
  7. // History:
  8. //
  9. // 5/15/97 edwardp Created.
  10. //
  11. ////////////////////////////////////////////////////////////////////////////////
  12. //
  13. // Check for previous includes of this file.
  14. //
  15. #ifndef _STRING_H_
  16. #define _STRING_H_
  17. //
  18. // String function declarations.
  19. //
  20. #ifdef UNICODE
  21. #define StrEql StrEqlW
  22. #else // UNICODE
  23. #define StrEql StrEqlA
  24. #endif // UNICODE
  25. #define StrCpyA lstrcpyA
  26. #define StrCpyNA lstrcpynA
  27. #define StrCatA lstrcatA
  28. #define StrLen lstrlen // lstrlen works in W95.
  29. #define StrLenA lstrlenA
  30. #define StrLenW lstrlenW
  31. //
  32. // Function prototypes.
  33. //
  34. BOOL StrEqlA(LPCSTR p1, LPCSTR p2);
  35. BOOL StrEqlW(LPCWSTR p1, LPCWSTR p2);
  36. BOOL StrLocallyDisplayable(LPCWSTR pwsz);
  37. #endif // _STRING_H_