Set type of destination variant in VariantChangeTypeEx function.
This commit is contained in:
parent
ff2b369739
commit
7451774496
|
@ -1986,6 +1986,11 @@ HRESULT WINAPI VariantChangeTypeEx(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
|||
*/
|
||||
VariantClear( &varg );
|
||||
|
||||
/* set the type of the destination
|
||||
*/
|
||||
if ( res == S_OK )
|
||||
pvargDest->vt = vt;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue