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

/* +======================================================
File: olechar.h
Purpose: Provide wrappers for string-related
functions so that the Ansi or Unicode function
is called, whichever is appropriate for the
current OLECHAR definition.
This file is similar to "tchar.h", except
that it covers OLECHARs rather than TCHARs .
+====================================================== */
#ifndef _OLECHAR_H_
#define _OLECHAR_H_
#ifndef _UNICODE
#define OLE2ANSI 1 /* this 2 macros are synonmous for the reference
implementation */
#endif
#define ocslen _tcslen
#define ocscpy _tcscpy
#define ocscmp _tcscmp
#define ocscat _tcscat
#define ocschr _tcschr
#define soprintf _tprintf
#define oprintf _tprintf
#define ocsnicmp _tcsnicmp
#endif /* !_OLECHAR_H_ */