Robert Shearman : oleaut32: Handle BSTRs in VARIANT_CopyData.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 8 05:06:11 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: e452b7a0b4b0f41e7278dfc16ba2afe016447946
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e452b7a0b4b0f41e7278dfc16ba2afe016447946
Author: Robert Shearman <rob at codeweavers.com>
Date: Tue Jun 6 20:05:10 2006 +0100
oleaut32: Handle BSTRs in VARIANT_CopyData.
---
dlls/oleaut32/vartype.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index 341325b..df70e90 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -64,6 +64,7 @@ static inline void VARIANT_CopyData(cons
case VT_UI8: memcpy(pOut, &V_UI8(srcVar), sizeof (LONG64)); break;
case VT_INT_PTR: memcpy(pOut, &V_INT_PTR(srcVar), sizeof (INT_PTR)); break;
case VT_DECIMAL: memcpy(pOut, &V_DECIMAL(srcVar), sizeof (DECIMAL)); break;
+ case VT_BSTR: memcpy(pOut, &V_BSTR(srcVar), sizeof(BSTR)); break;
default:
FIXME("VT_ type %d unhandled, please report!\n", vt);
}
More information about the wine-cvs
mailing list