Freigeben über


AMOVIESETUP_FILTER Structure

 
Microsoft DirectShow 9.0

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.

Requirements

  Header: Dshow.h.