Ignore:
Timestamp:
Aug 4, 1999, 2:46:14 AM (26 years ago)
Author:
phaller
Message:

Fix: Win3-Style Profile support ported from WINE. Also removes Open32 dependency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/unicode.cpp

    r257 r408  
    1 /* $Id: unicode.cpp,v 1.11 1999-06-30 21:19:42 sandervl Exp $ */
     1/* $Id: unicode.cpp,v 1.12 1999-08-04 00:44:33 phaller Exp $ */
    22
    33/*
     
    1717#include <string.h>
    1818#include "misc.h"
     19#include <unicode.h>
    1920
    2021static UconvObject uconv_object = NULL;
     
    193194}
    194195//******************************************************************************
     196// Converts ascii string to unicode string
     197// returns pointer to unicode string
     198//******************************************************************************
     199WCHAR * 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//******************************************************************************
    195212//SvL: 24-6-'97 - Added
    196213//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.