Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AMOVIESETUP_FILTER
Collapse the table of content
Expand the table of content

AMOVIESETUP_FILTER structure

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

Header

Combase.h (include Streams.h)

See also

DirectShow Structures

 

 

Community Additions

ADD
Show:
© 2015 Microsoft