IAMNetShowExProps::GetCodecInstalled (Compact 2013)
3/26/2014
This method queries whether a specified codec is installed on the local system.
Syntax
HRESULT GetCodecInstalled(
long CodecNum,
VARIANT_BOOL *pCodecInstalled
);
Parameters
- CodecNum
[in] Specifies the zero-based index of the codec to query.
- pCodecInstalled
[out] Points to a variable which on return contains VARIANT_TRUE if the specified codec is installed, VARIANT_FALSE otherwise.
Return Values
Returns S_OK on success. Returns an HRESULT error on failure.
Remarks
The IAMNetShowExProps::get_CodecCount method returns the number of codecs required to play the source file. The CodecNum parameter is a zero-based index into that list of codecs.
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |