mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[BROWSEUI] Fix SHEnumClassesOfCategories() parameter validation. (#1622)
Addendum to fdfef818
. CORE-11711
This commit is contained in:
parent
ae2a85d003
commit
92e5fabb55
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue