Display Property Pages of a given DirectShow filter
Parameters
- filter
- A DirectShow Filter
- parent
- A hwnd handle of a window to contain the pages
Remarks
You can check if a filter supports Property Pages with the HasPropertyPages method.
Warning : This method is blocking. It only returns when the Property Pages are closed.
Exceptions
Exception Type | Condition |
---|---|
ArgumentNullException | Thrown if filter is null |
Example
This sample shows how to check if a filter supports Property Pages and displays them
if (FilterGraphTools.HasPropertyPages(myFilter)) { FilterGraphTools.ShowFilterPropertyPage(myFilter, myForm.Handle); }
See Also
FilterGraphTools Class | DirectShowLib.Utils Namespace | HasPropertyPages