[SHELLFIND] Use assignment instead of memcpy

This commit is contained in:
Brock Mammen
2019-09-15 19:46:36 +03:00
committed by Giannis Adamopoulos
parent 3b9508e98f
commit 8aa063b451
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -609,6 +609,6 @@ STDMETHODIMP CFindFolder::GetClassID(CLSID *pClassId)
{
if (pClassId == NULL)
return E_INVALIDARG;
memcpy(pClassId, &CLSID_FindFolder, sizeof(CLSID));
*pClassId = CLSID_FindFolder;
return S_OK;
}
+1 -1
View File
@@ -471,7 +471,7 @@ HRESULT STDMETHODCALLTYPE CSearchBar::GetClassID(CLSID *pClassID)
{
if (!pClassID)
return E_POINTER;
memcpy(pClassID, &CLSID_FileSearchBand, sizeof(CLSID));
*pClassID = CLSID_FileSearchBand;
return S_OK;
}