propsys: Add support for VT_BSTR to PropVariantChangeType.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Dmitry Timoshkov 2017-06-20 12:36:51 +08:00 committed by Alexandre Julliard
parent 97c512082c
commit aa8dc616e0
1 changed files with 2 additions and 0 deletions

View File

@ -369,7 +369,9 @@ HRESULT WINAPI PropVariantChangeType(PROPVARIANT *ppropvarDest, REFPROPVARIANT p
}
return hr;
}
case VT_LPWSTR:
case VT_BSTR:
{
WCHAR *res;
hr = PropVariantToStringAlloc(propvarSrc, &res);