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.

35 lines
925 B

  1. /* +======================================================
  2. File: olechar.h
  3. Purpose: Provide wrappers for string-related
  4. functions so that the Ansi or Unicode function
  5. is called, whichever is appropriate for the
  6. current OLECHAR definition.
  7. This file is similar to "tchar.h", except
  8. that it covers OLECHARs rather than TCHARs .
  9. +====================================================== */
  10. #ifndef _OLECHAR_H_
  11. #define _OLECHAR_H_
  12. #ifndef _UNICODE
  13. #define OLE2ANSI 1 /* this 2 macros are synonmous for the reference
  14. implementation */
  15. #endif
  16. #define ocslen _tcslen
  17. #define ocscpy _tcscpy
  18. #define ocscmp _tcscmp
  19. #define ocscat _tcscat
  20. #define ocschr _tcschr
  21. #define soprintf _tprintf
  22. #define oprintf _tprintf
  23. #define ocsnicmp _tcsnicmp
  24. #endif /* !_OLECHAR_H_ */