Lines Matching refs:S_OK
95 if (hres != S_OK || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
173 while (enumpins->Next (1, &pintmp, NULL) == S_OK) { in gst_dshow_get_pin_from_filter()
176 if (hres == S_OK && pindir == pindirtmp) { in gst_dshow_get_pin_from_filter()
233 while (hres = enum_moniker->Next (1, &moniker, &fetched), hres == S_OK in gst_dshow_find_filter()
247 if (hres == S_OK && varFriendlyName.bstrVal) { in gst_dshow_find_filter()
339 if (hres != S_OK) { in gst_dshow_enumerate_devices()
346 if (hres != S_OK || !enum_moniker) { in gst_dshow_enumerate_devices()
353 while (enum_moniker->Next (1, &moniker, &fetched) == S_OK) { in gst_dshow_enumerate_devices()
362 if (hres == S_OK && varFriendlyName.bstrVal) { in gst_dshow_enumerate_devices()
371 if (hres == S_OK && wszDisplayName) { in gst_dshow_enumerate_devices()
471 HRESULT hres = S_OK; in gst_dshow_create_capture_filter()
502 if (hres != S_OK) { in gst_dshow_getdevice_from_devicename()
509 if (hres != S_OK || !enum_moniker) { in gst_dshow_getdevice_from_devicename()
516 while (hres = enum_moniker->Next (1, &moniker, &fetched), hres == S_OK in gst_dshow_getdevice_from_devicename()
527 if (hres == S_OK && varFriendlyName.bstrVal) { in gst_dshow_getdevice_from_devicename()
543 if (hres == S_OK && wszDisplayName) { in gst_dshow_getdevice_from_devicename()