IFilterMapper::RegisterPinType (Windows CE 5.0)

Send Feedback

This method registers this pin type.

HRESULT RegisterPinType(CLSIDclsFilter,LPCWSTRstrName,CLSIDclsMajorType,CCLSIDclsSubType);

Parameters

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

Return Values

Returns an HRESULT value.

Remarks

The clsMajorType and clsSubType parameters specify the media type of the pin and correspond to the AM_MEDIA_TYPE structure's majortype and subtype members, respectively.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IFilterMapper Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.