Use SysAllocStringByteLen/SysStringByteLen to copy BSTR variants.
This commit is contained in:
parent
481701b7b3
commit
ccfca3cbc4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue