hr = pSysDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumCat,0);if(hr == S_FALSE)returnFALSE;//Enumerate the monikers.IMoniker *pMoniker =NULL; ULONG cFetched;while(pEnumCat->Next(1, &pMoniker, &cFetched) == S_OK) { IPropertyBag *pPropBag =NULL; hr = pMoniker->...
pDevEnum->Release();returnfalse; }#ifdefDEBUGprintf("directx_camera_server::open_and_find_parameters(): Before Loop over enumerators\n");#endifULONG cFetched; IMoniker *pMoniker =NULL; IBaseFilter *pSrc =NULL;// Skip (which - 1) camerasinti;for(i =0; i < which-1; i++) {if(pCl...