Commit 23b5640b authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

oledb32: Add support for converting to W/STR types in GetConversionSize.

parent b257f294
......@@ -1395,6 +1395,18 @@ static HRESULT WINAPI convert_GetConversionSize(IDataConvert* iface,
return hr;
}
break;
case DBTYPE_DATE:
case DBTYPE_DECIMAL:
case DBTYPE_EMPTY:
case DBTYPE_I1:
case DBTYPE_I2:
case DBTYPE_UI2:
case DBTYPE_I4:
case DBTYPE_UI4:
case DBTYPE_I8:
case DBTYPE_UI8:
case DBTYPE_R4:
break;
default:
FIXME("unimplemented for %04x -> DBTYPE_STR\n", src_type);
return E_NOTIMPL;
......@@ -1427,6 +1439,18 @@ static HRESULT WINAPI convert_GetConversionSize(IDataConvert* iface,
else
*dst_len = (lstrlenW(src) + 1) * sizeof(WCHAR);
break;
case DBTYPE_DATE:
case DBTYPE_DECIMAL:
case DBTYPE_EMPTY:
case DBTYPE_I1:
case DBTYPE_I2:
case DBTYPE_UI2:
case DBTYPE_I4:
case DBTYPE_UI4:
case DBTYPE_I8:
case DBTYPE_UI8:
case DBTYPE_R4:
break;
default:
FIXME("unimplemented for %04x -> DBTYPE_WSTR\n", src_type);
return E_NOTIMPL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment