I have a source filter in the graph of my application. I could show the properties page by using standard API (from oleaut32.dll - OleCreatePropertyFrame
, see Displaying a Filter's Property Pages).
But how to save/serialize and load/deserialize the filter properties from code? I'm using DirectShow.NET to build graph.
Query IPersistStream
interface from the filter and use IPersistStream.Save
to request writing of persistent settings into stream. Load
back similarly.