oleaut32: dereference VT_RECORD|VT_BYREF in place.

Merged Kevin Puetz requested to merge puetzk/wine:VariantCopyInd into master

VariantCopyInd allows pvargDest == pvargSrc in order to dereference in place To avoid confusing the source values and a partially-written destination, wine's implementation makes a shallow copy and uses that as pSrc.

However, the call to VARIANT_CopyIRecordInfo did not use this, leading to it copying from the zeroed-out memory it just allocated.

Edited by Kevin Puetz

Merge request reports