Microsoft Windows CE 3.0  

IFilterMapper::RegisterPinType

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Registers this pin type.

HRESULT RegisterPinType(
CLSID
clsFilter
,
LPCWSTR
strName
,
CLSID
clsMajorType
,
CCLSID
clsSubType
);

Parameters

clsFilter
Class identifier (CLSID) of the filter to which the pin belongs.
strName
Name by which it is known.
clsMajorType
Major type of the media sample supported by this pin class.
clsSubType
Subtype of the media sample supported by this pin class.

Return Values

Returns an HRESULTvalue.

Remarks

The clsMajorType and clsSubType parameters specify the media type of the pin and correspond to the AM_MEDIA_TYPEstructure's majortypeand subtypemembers, respectively.