Skip to content
Snippets Groups Projects
Commit 74517744 authored by Stephane Lussier's avatar Stephane Lussier Committed by Alexandre Julliard
Browse files

Set type of destination variant in VariantChangeTypeEx function.

parent ff2b3697
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment