Skip to content

Latest commit

 

History

History
82 lines (59 loc) · 2 KB

nf-ksproxy-ksgetmediatypecount.md

File metadata and controls

82 lines (59 loc) · 2 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ksproxy.KsGetMediaTypeCount
KsGetMediaTypeCount function (ksproxy.h)
The KsGetMediaTypeCount function returns the number of available media types on a pin factory identifier.
stream\ksgetmediatypecount.htm
stream
04/23/2018
KsGetMediaTypeCount function
KsGetMediaTypeCount, KsGetMediaTypeCount function [Streaming Media Devices], ksproxy/KsGetMediaTypeCount, ksproxy_77c6249c-2b35-4d9e-afff-b01cf5518a73.xml, stream.ksgetmediatypecount
ksproxy.h
Ksproxy.h
Desktop
Ksproxy.lib
Windows
KsGetMediaTypeCount
ksproxy/KsGetMediaTypeCount
APIRef
kbSyntax
LibDef
Ksproxy.lib
Ksproxy.dll
KsGetMediaTypeCount

KsGetMediaTypeCount function

-description

The KsGetMediaTypeCount function returns the number of available media types on a pin factory identifier.

-parameters

-param FilterHandle [in]

Handle to the filter that contains the pin factory to query.

-param PinFactoryId [in]

Identifier of the pin factory against which the number of media types is being returned.

-param MediaTypeCount [out]

Pointer to a variable to receive the number of media types.

-returns

Returns NOERROR if successful; otherwise, returns an error code.

-remarks

The number of available media types that KsGetMediaTypeCount returns is equal to the number of available data ranges.

-see-also

IKsPinFactory

KSDATARANGE