Export (0) Print
Expand All
Expand Minimize

REGPINTYPES structure

The REGPINTYPES structure contains media type information for registering a filter.

Syntax


typedef struct {
  const CLSID *clsMajorType;
  const CLSID *clsMinorType;
} REGPINTYPES, AMOVIESETUP_MEDIATYPE, *PAMOVIESETUP_MEDIATYPE, *LPAMOVIESETUP_MEDIATYPE;

Members

clsMajorType

Major type GUID of the media type.

clsMinorType

Sub type GUID of the media type. Can be MEDIASUBTYPE_NULL.

Remarks

This structure is used by the IFilterMapper2 interface to identify the media types that a pin supports. The equivalent AMOVIESETUP_MEDIATYPE type is used in class factory templates (CFactoryTemplate).

To register a range of subtypes within the same major type, use the value MEDIASUBTYPE_NULL.

For more information, see How to Register DirectShow Filters.

Requirements

Header

Strmif.h (include Dshow.h)

See also

DirectShow Structures
Media Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft