C# Class DirectX.Capture.PropertyPageCollection

A collection of available PropertyPages in a DirectShow filter graph. It is up to the driver manufacturer to implement a property pages on their drivers. The list of supported property pages will vary from driver to driver.
Inheritance: System.Collections.CollectionBase, IDisposable
Show file Open project: RejectKid/MTG-Scanner Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Empty the collection.

Dispose ( ) : void

Release unmanaged resources

this ( int index ) : PropertyPage

Get the filter at the specified index.

Protected Methods

Method Description
addFromGraph ( ICaptureGraphBuilder2 graphBuilder, IBaseFilter videoDeviceFilter, IBaseFilter audioDeviceFilter, IBaseFilter videoCompressorFilter, IBaseFilter audioCompressorFilter, SourceCollection videoSources, SourceCollection audioSources ) : void

Populate the collection by looking for commonly implemented property pages.

addIfSupported ( object o, string name ) : bool

Returns the object as an ISpecificPropertyPage if the object supports the ISpecificPropertyPage interface and has at least one property page.

Private Methods

Method Description
PropertyPageCollection ( ) : System

Initialize collection with no property pages.

PropertyPageCollection ( ICaptureGraphBuilder2 graphBuilder, IBaseFilter videoDeviceFilter, IBaseFilter audioDeviceFilter, IBaseFilter videoCompressorFilter, IBaseFilter audioCompressorFilter, SourceCollection videoSources, SourceCollection audioSources ) : System

Initialize collection with property pages from existing graph.

Method Details

Clear() public method

Empty the collection.
public Clear ( ) : void
return void

Dispose() public method

Release unmanaged resources
public Dispose ( ) : void
return void

addFromGraph() protected method

Populate the collection by looking for commonly implemented property pages.
protected addFromGraph ( ICaptureGraphBuilder2 graphBuilder, IBaseFilter videoDeviceFilter, IBaseFilter audioDeviceFilter, IBaseFilter videoCompressorFilter, IBaseFilter audioCompressorFilter, SourceCollection videoSources, SourceCollection audioSources ) : void
graphBuilder ICaptureGraphBuilder2
videoDeviceFilter IBaseFilter
audioDeviceFilter IBaseFilter
videoCompressorFilter IBaseFilter
audioCompressorFilter IBaseFilter
videoSources SourceCollection
audioSources SourceCollection
return void

addIfSupported() protected method

Returns the object as an ISpecificPropertyPage if the object supports the ISpecificPropertyPage interface and has at least one property page.
protected addIfSupported ( object o, string name ) : bool
o object
name string
return bool

this() public method

Get the filter at the specified index.
public this ( int index ) : PropertyPage
index int
return PropertyPage