Changeset 408 for trunk/src/kernel32/unicode.cpp
- Timestamp:
- Aug 4, 1999, 2:46:14 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/unicode.cpp
r257 r408 1 /* $Id: unicode.cpp,v 1.1 1 1999-06-30 21:19:42 sandervlExp $ */1 /* $Id: unicode.cpp,v 1.12 1999-08-04 00:44:33 phaller Exp $ */ 2 2 3 3 /* … … 17 17 #include <string.h> 18 18 #include "misc.h" 19 #include <unicode.h> 19 20 20 21 static UconvObject uconv_object = NULL; … … 193 194 } 194 195 //****************************************************************************** 196 // Converts ascii string to unicode string 197 // returns pointer to unicode string 198 //****************************************************************************** 199 WCHAR * WIN32API AsciiToUnicodeString(char *astring) 200 { 201 WCHAR *ustring; 202 203 if(astring == NULL) 204 return(NULL); 205 206 ustring = (WCHAR *)malloc( 1 + strlen(astring) << 1 ); 207 AsciiToUnicode( astring, ustring ); 208 return(ustring); 209 } 210 211 //****************************************************************************** 195 212 //SvL: 24-6-'97 - Added 196 213 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.