hlink: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-02-29 10:44:01 +00:00 committed by Alexandre Julliard
parent 23dd9dc088
commit ad606f4d26

View file

@ -602,7 +602,7 @@ static HRESULT WINAPI IPersistStream_fnGetClassID(IPersistStream* iface,
{
HlinkImpl *This = HlinkImpl_from_IPersistStream(iface);
TRACE("(%p)\n", This);
memcpy(pClassID, &CLSID_StdHlink, sizeof(CLSID));
*pClassID = CLSID_StdHlink;
return S_OK;
}