Ignore:
Timestamp:
Aug 19, 1999, 12:25:27 PM (26 years ago)
Author:
sandervl
Message:

PE loader resource fixes + ConvertNameId bugfix

File:
1 edited

Legend:

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

    r408 r571  
    1 /* $Id: unicode.cpp,v 1.12 1999-08-04 00:44:33 phaller Exp $ */
     1/* $Id: unicode.cpp,v 1.13 1999-08-19 10:25:27 sandervl Exp $ */
    22
    33/*
     
    194194}
    195195//******************************************************************************
     196//******************************************************************************
     197char * WIN32API UnicodeToAsciiStringN(WCHAR *ustring, ULONG length)
     198{
     199  char *astring;
     200
     201  if(ustring == NULL)  return(NULL);
     202
     203  astring = (char *)malloc( 1 + length );
     204  UnicodeToAscii( ustring, astring );
     205  return(astring);
     206}
     207//******************************************************************************
    196208// Converts ascii string to unicode string
    197209// returns pointer to unicode string
Note: See TracChangeset for help on using the changeset viewer.