Compartilhar via


REGFILTERPINS2 Structure

 
Microsoft DirectShow 9.0

REGFILTERPINS2 Structure

The REGFILTERPINS2 structure contains information for registering a filter through the IFilterMapper2 interface.

Syntax

typedef struct {
    DWORD dwFlags;
    UINT cInstances;
    UINT nMediaTypes; 
    [size_is(nMediaTypes)] const REGPINTYPES *lpMediaType;
    UINT nMediums;
    [size_is(nMediums)] const REGPINMEDIUM *lpMedium;
    const CLSID *clsPinCategory;
} REGFILTERPINS2;

Members

dwFlags

Bitwise combination of zero or more REG_PINFLAG flags.

cInstances

Number of instances of this pin.

nMediaTypes

Number of media types supported by this pin.

lpMediaType

Pointer to an array of REGPINTYPES structures, of size nMediaTypes.

nMediums

Number of mediums. Can be zero.

lpMedium

Pointer to an array of REGPINMEDIUM structures, of size nMediums.

clsPinCategory

Optional pin category, from the Pin Property Set.

Remarks

If you use this stucture, set the dwVersion member of the REGFILTER2 structure to 2.

Requirements

Header: Dshow.h.

See Also