Muokkaa

Jaa


KSPROPERTY_JACK_DESCRIPTION2

The KSPROPERTY_JACK_DESCRIPTION2 property is implemented as a pin-wise property that is accessed by using the filter handle.

In Windows 7 and later Windows operating systems, this property can be supported on any bridge pin that is associated with one or more physical jacks. KSPROPERTY_JACK_DESCRIPTION2 is used to get the state and the jack-related capabilities of the device.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

No

Pin factory (via filter handle)

KSP_PIN

KSMULTIPLE_ITEM followed by an array of KSJACK_DESCRIPTION2 structures

The property value (instance data) is a KSMULTIPLE_ITEM, followed by an array of KSJACK_DESCRIPTION2 structures.

Return Value

A KSPROPERTY_JACK_DESCRIPTION2 property request returns a KSMULTIPLE_ITEM followed by an array of N KSJACK_DESCRIPTION2 structures, where N = the number of jacks that are associated with the specified bridge pin. The following list shows the items that are returned by the property request.

KSMULTIPLE_ITEM.Size = sizeof(KSMULTIPLE_ITEM) + N * sizeof(KSJACK_DESCRIPTION2)

KSMULTIPLE_ITEM.Count = N

KSJACK_DESCRIPTION2[0]

...

KSJACK_DESCRIPTION2[N-1]

Remarks

Each KSJACK_DESCRIPTION2 structure must only contain information about one jack.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008

Header

Ksmedia.h

See also

KSJACK_DESCRIPTION2

KSMULTIPLE_ITEM