mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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)
|
||||
return E_INVALIDARG;
|
||||
memcpy(pClassId, &CLSID_FindFolder, sizeof(CLSID));
|
||||
*pClassId = CLSID_FindFolder;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue