IWMCodecStrings::GetName method (wmcodecdsp.h)
Retrieves the name of a codec.
HRESULT GetName( [in] DMO_MEDIA_TYPE *pmt, [in] ULONG cchLength, [out] LPWSTR szName, [out] ULONG *pcchLength );
Pointer to the output media type. If NULL, the codec will use the media type that is currently set.
Size of szName buffer in wide characters.
Address of the wide-character buffer that receives the name. If NULL, pcchLength receives the required length.
Pointer to the required buffer length in wide characters, including the null terminating character.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
||The method succeeded.|
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|