This method registers this pin type.
HRESULT RegisterPinType( CLSID clsFilter, LPCWSTR strName, CLSID clsMajorType, CCLSID clsSubType );
[in] Class identifier (CLSID) of the filter to which the pin belongs.
[in] Name by which it is known.
[in] Major type of the media sample supported by this pin class.
[in] Subtype of the media sample supported by this pin class.
Returns an HRESULT value.
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.
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.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.