windowscodecs: Do not assume that vtable is the first element of the object.

This commit is contained in:
Dmitry Timoshkov 2012-07-24 15:15:15 +09:00 committed by Alexandre Julliard
parent 6abda85c29
commit e796ef820b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ static HRESULT WINAPI PropertyBag_QueryInterface(IPropertyBag2 *iface, REFIID ii
if (IsEqualIID(&IID_IUnknown, iid) ||
IsEqualIID(&IID_IPropertyBag2, iid))
{
*ppv = This;
*ppv = &This->IPropertyBag2_iface;
}
else
{