IFilterInfo is an object that manages information about a filter and allows access to the filter object and IPinInfo object.
Properties
Filename Retrieves or sets the file name associated with the source filter. Filter Retrieves the actual filter object. IsFileSource Indicates whether the filter is a file source filter. Name Retrieves the filter name. Pins Retrieves an IAMCollection object containing the IPinInfo objects for this filter. VendorInfo Retrieves a string containing optional information supplied by a vendor about the specified filter.
Methods
FindPin Locates a pin, given an identifier, and returns an object supporting IPinInfo.
Retrieves or sets the name of the file containing the filter.
Syntax
objFilterInfo.Filename [= string]
Parts
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
- string
- String expression that specifies the new file name.
Retrieves the filter object.
Syntax
Set objFilter = objFilterInfo.Filter
Parts
- objFilter
- Object expression that evaluates to an IBaseFilter object.
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
Remarks
No programmable object interface is offered for the IBaseFilter interface. However, Visual Basic® programmers can use the returned object as a parameter in calls to functions that take an IBaseFilter interface pointer as a parameter.
Locates a pin, given an identifier, and returns an IPinInfo object.
Syntax
objFilterInfo.FindPin string, objPin
Parts
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
- string
- String that contains the name of the pin to find.
- objPin
- IPinInfo object that will contain the specified pin, if the pin exists.
Remarks
No programmable object interface is offered for the IPin interface. However, Visual Basic programmers can use the returned object as a parameter in calls to functions that take the IPin interface pointer as a parameter.
Determines if the file contains the source video.
Syntax
objFilterInfo.IsFileSource
Parts
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
Return Value
The value True indicates that the file contains the source video. False indicates that the file does not contain the source video.
Retrieves the filter name.
Syntax
objFilterInfo.Name
Parts
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
Remarks
The vendor specifies the filter name.
Retrieves an IAMCollection object containing the IPinInfo objects for this filter.
Syntax
Set objPinCollection = objFilterInfo.Pins
Parts
- objPinCollection
- IAMCollection object that will contain the specific filter's pins.
- objFilterInfo
- IFilterInfo object that specifies the filter whose pins you want to retrieve.
Remarks
You can use the Count property and Item method to iterate through each of the pin objects in the collection.
Retrieves a string containing optional information supplied by a vendor about the specified filter.
Syntax
objFilterInfo.VendorInfo
Parts
- objFilterInfo
- Object expression that evaluates to an IFilterInfo object.
Remarks
This property contains any information the vendor chooses to supply. It is usually descriptive information about the filter.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.