CodecQuery.FindAllAsync(CodecKind, CodecCategory, String) CodecQuery.FindAllAsync(CodecKind, CodecCategory, String) CodecQuery.FindAllAsync(CodecKind, CodecCategory, String) CodecQuery.FindAllAsync(CodecKind, CodecCategory, String) CodecQuery.FindAllAsync(CodecKind, CodecCategory, String) Method

Definition

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

public : IAsyncOperation<IVectorView<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, Platform::String subType)
IAsyncOperation<IVectorView<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, winrt::hstring subType) const;
public IAsyncOperation<IReadOnlyList<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, String subType)
Public Function FindAllAsync(kind As CodecKind, category As CodecCategory, subType As String) As IAsyncOperation<IReadOnlyList<CodecInfo>>(Of IVectorView)
Windows.Media.Core.CodecQuery.findAllAsync(kind, category, subType).done( /* Your success and error handlers */ );

Parameters

kind
CodecKind CodecKind CodecKind

A value that specifies whether the method should return codecs that operate on video or audio data.

category
CodecCategory CodecCategory CodecCategory

A value that specifies whether the method should return codecs that are encoders or decoders.

subType
String String String

A value specifying the media encoding subtype that all returned codecs must support. This value can be a string representation of one of the subtype GUIDs listed in Audio Subtype GUIDs or Video Subtyp GUIDs. The CodecSubtypes class provides properties for most supported media subtypes that return the string representation of the subtype GUID. You can also specify a FOURCC code for this parameter. For more information, see FOURCC Codes. To specify that all codecs of the specified kind and category should be returned, regardless of what media subtypes are supported, specify an empty string ("") or null for this parameter.

Returns

IAsyncOperation<IReadOnlyList<CodecInfo>> IAsyncOperation<IReadOnlyList<CodecInfo>> IAsyncOperation<IReadOnlyList<CodecInfo>>