Share via


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:
 virtual IAsyncOperation<IVectorView<CodecInfo ^> ^> ^ FindAllAsync(CodecKind kind, CodecCategory category, Platform::String ^ subType) = FindAllAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<CodecInfo>> FindAllAsync(CodecKind const& kind, CodecCategory const& category, winrt::hstring const& subType);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<CodecInfo>> FindAllAsync(CodecKind kind, CodecCategory category, string subType);
function findAllAsync(kind, category, subType)
Public Function FindAllAsync (kind As CodecKind, category As CodecCategory, subType As String) As IAsyncOperation(Of IReadOnlyList(Of CodecInfo))

Parameters

kind
CodecKind

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

category
CodecCategory

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

subType
String

Platform::String

winrt::hstring

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 ("") for this parameter.

Returns

Attributes

Applies to