- Oct
- 369
- 2
Hello --
I would just like to confirm -- In both of this API call, the "nLength" argument
is the max number of bytes or chars?
thanks
void WINAPI ASCIIToUnicode( char * pszASCII, LPWSTR pszUnicode, int nLength );
/*
Convert an ASCII string to Unicode
nLength = maximum length of pszUnicode
*/
void WINAPI UnicodeToASCII( LPWSTR pszUnicode, char * pszASCII, int nLength );
/*
Convert a Unicode string to ASCII
nLength = maximum length of pszASCII
*/
I would just like to confirm -- In both of this API call, the "nLength" argument
is the max number of bytes or chars?
thanks
void WINAPI ASCIIToUnicode( char * pszASCII, LPWSTR pszUnicode, int nLength );
/*
Convert an ASCII string to Unicode
nLength = maximum length of pszUnicode
*/
void WINAPI UnicodeToASCII( LPWSTR pszUnicode, char * pszASCII, int nLength );
/*
Convert a Unicode string to ASCII
nLength = maximum length of pszASCII
*/