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
1 changed files with 1 additions and 1 deletions

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;
}