AMOVIESETUP_FILTER structure
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The AMOVIESETUP_FILTER structure contains information for registering a filter.
Syntax
typedef struct _AMOVIESETUP_FILTER {
const CLSID *clsID;
const WCHAR *strName;
DWORD dwMerit;
UINT nPins;
const AMOVIESETUP_PIN *lpPin;
} AMOVIESETUP_FILTER, *PAMOVIESETUP_FILTER, *FAR LPAMOVIESETUP_FILTER;
Members
-
clsID
-
Class identifier of the filter.
-
strName
-
Name of the filter.
-
dwMerit
-
Filter merit. Used by the IGraphBuilder interface when constructing a filter graph. For a list of merit values, see Merit.
-
nPins
-
Number of elements in the lpPin array. If lpPin is NULL, set this member to zero.
-
lpPin
-
Pointer to an array of AMOVIESETUP_PIN structures, of size nPins. Each member of this array describes a pin on the filter.
Remarks
For information about using this structure, see How to Register DirectShow Filters. Use this structure only for filters that are registered in the default filter category (CLSID_LegacyAmFilterCategory). To register a filter in a different category, use the IFilterMapper2::RegisterFilter method, as described in Implementing DllRegisterServer.
Note
The header file combase.h is provided with the DirectShow Base Classes.
Requirements
Requirement | Value |
---|---|
Header |
|