Udostępnij za pośrednictwem


CodecQuery Class

Definition

Provides the FindAllAsync method which allows you to enumerate all media codecs installed on the system.

public ref class CodecQuery sealed
/// [Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CodecQuery final
[Windows.Foundation.Metadata.Activatable(262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CodecQuery
function CodecQuery()
Public NotInheritable Class CodecQuery
Inheritance
Object Platform::Object IInspectable CodecQuery
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Constructors

CodecQuery()

Initializes a new instance of the CodecQuery class.

Methods

FindAllAsync(CodecKind, CodecCategory, String)

Returns a read-only list of all media codecs installed on the system that meet the specified requirements.

Applies to