mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[BROWSEUI] Fix SHEnumClassesOfCategories() parameter validation. (#1622)
Addendum to fdfef818. CORE-11711
This commit is contained in:
committed by
Hermès Bélusca-Maïto
parent
ae2a85d003
commit
92e5fabb55
@@ -337,6 +337,9 @@ extern "C" HRESULT WINAPI SHEnumClassesOfCategories(ULONG cImplemented, CATID *p
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
if (!out)
|
||||
return E_INVALIDARG;
|
||||
|
||||
hr = ShellObjectCreatorInit<CSHEnumClassesOfCategories>(
|
||||
cImplemented, pImplemented, cRequired, pRequired, IID_PPV_ARG(IEnumGUID, out));
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
|
||||
Reference in New Issue
Block a user