I'm trying to find an example where a parameter that could be controlled through the filter property page has an exposed getter/setter so that, without loading the property page, the filter property can be changed by the parent program that generated the graph.
Ezrgb24 from the windows sdk has a working property page, but I don't see how to expose the functions used in the property page so that my program can access them directly without initalizing the property page itself. I looked through the Programming Microsoft Directshow book and saw that it goes through the YUVGray example filter and mentions that the colors used could be exposed so that the parent program of the graph could change them, but does not give an example how.
Meanwhile, samples from directshow.net, like the windows sdk samples, appear to include only the filter or only the program source, and I didn't see any example filter that has such properties directly exposed. But examples like the BitmapMixer call IVMRMixerBitmap9.SetAlphaBitmap, an interface for VMR9. I'd like a sample that gives me the code for a similar interface and the filter so I can see how they are related, and the program so I can see how my environment should be set up to utilize the interface.
I'm guessing this is a basic exercise in utilizing COM, but I really would like a complete example with all of the source so I can fully understand how everything is connected. Even if the exposed property is trivially used it would be enough of a skeleton to go on. Is there such an example somewhere that I missed? I'm in C# for the program but have been using directshow.net and can get any graph set up and running, so a C++ program would be fine.