mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[SHELLFIND] Use assignment instead of memcpy
This commit is contained in:
parent
3b9508e98f
commit
8aa063b451
2 changed files with 2 additions and 2 deletions
|
@ -609,6 +609,6 @@ STDMETHODIMP CFindFolder::GetClassID(CLSID *pClassId)
|
||||||
{
|
{
|
||||||
if (pClassId == NULL)
|
if (pClassId == NULL)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
memcpy(pClassId, &CLSID_FindFolder, sizeof(CLSID));
|
*pClassId = CLSID_FindFolder;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -471,7 +471,7 @@ HRESULT STDMETHODCALLTYPE CSearchBar::GetClassID(CLSID *pClassID)
|
||||||
{
|
{
|
||||||
if (!pClassID)
|
if (!pClassID)
|
||||||
return E_POINTER;
|
return E_POINTER;
|
||||||
memcpy(pClassID, &CLSID_FileSearchBand, sizeof(CLSID));
|
*pClassID = CLSID_FileSearchBand;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue