Microsoft DirectX 8.1 (C++) |
In summary, this article discussed the use of the following DirectShow objects, properties, and methods.
Task | DirectShow Properties or Methods |
Create a new, empty filter graph. | Set objMediaControl = New FilgraphManager. |
Generate the complete filter graph for a specific file. | Call the FilgraphManager.RenderFile method. |
Add a source filter. | Call the FilgraphManager.AddSourceFilter method. |
Add a renderer or transform filter. | Get the IRegFilterInfo objects using the FilgraphManager.RegFilterCollection property; call the IRegFilterInfo.Filter method. |
List the pins of a filter object. | Get the IPinInfo objects using the IFilterInfo.Pins property. |
Explicitly connect two pins. | Call the IPinInfo.Connect method. |
Create all connections from the pin to the renderer filter. | Call the IPinInfo.Render method. |