Lines Matching defs:config
761 static void dshow_get_default_format(IPin *pin, IAMStreamConfig *config, enum dshowDeviceType devtype, AM_MEDIA_TYPE **type)
765 if ((hr = IAMStreamConfig_GetFormat(config, type)) != S_OK) {
798 IAMStreamConfig *config = NULL;
822 if (IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **) &config) != S_OK)
824 if (IAMStreamConfig_GetNumberOfCapabilities(config, &n, &size) != S_OK)
842 dshow_get_default_format(pin, config, devtype, &type);
887 r = IAMStreamConfig_GetStreamCaps(config, i, &type, (void *) caps);
1019 if (IAMStreamConfig_SetFormat(config, type) != S_OK)
1046 if (IAMStreamConfig_SetFormat(config, previous_match_type) == S_OK)
1053 dshow_get_default_format(pin, config, devtype, &type);
1054 if (IAMStreamConfig_SetFormat(config, type) == S_OK)
1067 IAMStreamConfig_Release(config);
1083 IAMStreamConfig *config = NULL;
1087 if (IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **) &config) != S_OK)
1089 if (IAMStreamConfig_GetFormat(config, &type) != S_OK)
1112 if (config)
1113 IAMStreamConfig_Release(config);