ole32: Use PropVariantInit instead of memset.

This commit is contained in:
Mike McCormack 2006-08-14 21:02:09 +09:00 committed by Alexandre Julliard
parent dd66a69614
commit c8572a5e43
1 changed files with 1 additions and 1 deletions

View File

@ -1385,7 +1385,7 @@ static HRESULT PropertyStorage_ReadFromStream(PropertyStorage_impl *This)
{
PROPVARIANT prop;
memset(&prop, 0, sizeof prop);
PropVariantInit(&prop);
if (SUCCEEDED(PropertyStorage_ReadProperty(This, &prop,
buf + idOffset->dwOffset - sizeof(PROPERTYSECTIONHEADER))))
{