Compartilhar via


REGPINTYPES Structure

 
Microsoft DirectShow 9.0

REGPINTYPES Structure

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

Syntax

typedef struct
{
    const CLSID *clsMajorType;
    const CLSID *clsMinorType;
} REGPINTYPES;

typedef 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: Dshow.h.

See Also