Use SysAllocStringByteLen/SysStringByteLen to copy BSTR variants.

This commit is contained in:
2003-09-16 01:03:34 +00:00 committed by Alexandre Julliard
parent 481701b7b3
commit ccfca3cbc4
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(ole);
#define SYSDUPSTRING(str) SysAllocStringLen((str), SysStringLen(str))
#define SYSDUPSTRING(str) SysAllocStringByteLen((LPCSTR)(str), SysStringByteLen(str))
#ifndef FLT_MAX
# ifdef MAXFLOAT