Export (0) Print
Expand All
Expand Minimize

REGFILTERPINS2 structure

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

Syntax


typedef struct {
  DWORD              dwFlags;
  UINT               cInstances;
  UINT               nMediaTypes;
  const REGPINTYPES  *lpMediaType;
  UINT               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 structure, set the dwVersion member of the REGFILTER2 structure to 2.

Requirements

Header

Strmif.h (include Dshow.h)

See also

DirectShow Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft