dxdiagn: Check ICreateDevEnum_CreateClassEnumerator result for S_OK.
This commit is contained in:
parent
8cbf27659b
commit
d5a5800b53
1 changed files with 1 additions and 1 deletions
|
@ -1652,7 +1652,7 @@ static HRESULT build_directshowfilters_tree(IDxDiagContainerImpl_Container *node
|
|||
return hr;
|
||||
|
||||
hr = ICreateDevEnum_CreateClassEnumerator(pCreateDevEnum, &CLSID_ActiveMovieCategories, &pEmCat, 0);
|
||||
if (FAILED(hr))
|
||||
if (hr != S_OK)
|
||||
goto cleanup;
|
||||
|
||||
while (IEnumMoniker_Next(pEmCat, 1, &pMCat, NULL) == S_OK)
|
||||
|
|
Loading…
Add table
Reference in a new issue