Currently I'm writing a DirectShow based application that should help users configuring their TV capture cards, since GraphEdit seems to be too difficult for most to understand. The idea is that this application exports the generated Graph to a .GRF file, that will be used in another application.
Users can select which device (IMoniker) should be used to create a source filter, and can change some settings regarding video / audio.
Next to exporting .GRF files, my application should also have the feature to import such files. My question is: how do I find what moniker / device was used to create the source filter in the imported graph?
I tried creating a list of source filters for all connected devices, and comparing those to the source filter in the imported graph, but that did not seem to work.