home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / BOCOLE.PAK / UTILS.H < prev   
C/C++ Source or Header  |  1995-08-29  |  1KB  |  34 lines

  1. // $Header:   N:\admin\ocf\source\bocole\utils.h_v   2.0.1.0   10 Apr 1995 18:06:50   CQUINN  $
  2. //**************************************************************************
  3. //
  4. // Utils.h -- Contains some functions to make 32-bit bocole work under Win95.
  5. //
  6. // Copyright (c) 1995 by Borland International, Inc. All rights reserved
  7. //
  8. //**************************************************************************
  9.  
  10. #ifndef _utils_h
  11. #define _utils_h
  12.  
  13. #undef lstrcpy
  14. #undef lstrlen
  15. #undef lstrcpyn
  16. #undef lstrcat
  17.  
  18. #define lstrcpy(a,b)  lstrcpyW2(a,b)
  19. #define lstrlen(a)    lstrlenW2(a)
  20. #define lstrcpyn(a, b, c)   lstrcpynW2(a, b, c)
  21. #define lstrcat(a, b)   lstrcatW2(a, b)
  22.  
  23. LPWSTR lstrcpyW2(LPWSTR lpString1, LPCWSTR lpString2);
  24. int lstrlenW2(LPCWSTR lpString);
  25. LPWSTR lstrcpynW2(LPWSTR lpString1, LPCWSTR lpString2, int iMaxLength);
  26. LPWSTR lstrcatW2(LPWSTR lpString1, LPCWSTR lpString2);
  27.  
  28. #undef MAKEINTRESOURCEW
  29. #define MAKEINTRESOURCEW  MAKEINTRESOURCEA
  30. #define LoadCursorW LoadCursorA
  31. #define DefWindowProcW DefWindowProcA
  32.  
  33. #endif  // _utils_h
  34.