mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
ole32: Implement writing VT_CLSID properties.
This commit is contained in:
parent
d9889cfd63
commit
09202ee949
1 changed files with 9 additions and 0 deletions
|
@ -1746,6 +1746,15 @@ static HRESULT PropertyStorage_WritePropertyToStream(PropertyStorage_impl *This,
|
|||
bytesWritten = count + sizeof cf_hdr;
|
||||
break;
|
||||
}
|
||||
case VT_CLSID:
|
||||
{
|
||||
CLSID temp;
|
||||
|
||||
StorageUtl_WriteGUID((BYTE *)&temp, 0, var->u.puuid);
|
||||
hr = IStream_Write(This->stm, &temp, sizeof(temp), &count);
|
||||
bytesWritten = count;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
FIXME("unsupported type: %d\n", var->vt);
|
||||
return STG_E_INVALIDPARAMETER;
|
||||
|
|
Loading…
Reference in a new issue