REGPINTYPES structure (strmif.h)
The REGPINTYPES structure contains media type information for registering a filter.
Syntax
typedef struct REGPINTYPES {
const CLSID *clsMajorType;
const CLSID *clsMinorType;
} REGPINTYPES;
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) |