oleaut32: Handle BSTRs in VARIANT_CopyData.

This commit is contained in:
Robert Shearman 2006-06-06 20:05:10 +01:00 committed by Alexandre Julliard
parent 0a8b344f7b
commit e452b7a0b4
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ static inline void VARIANT_CopyData(const VARIANT *srcVar, VARTYPE vt, void *pOu
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);
}