Previous Next

KSPROPERTY_AUDIOGFX_CAPTURETARGETDEVICEID

The KSPROPERTY_AUDIOGFX_CAPTURETARGETDEVICEID property is used to inform a GFX filter of the Plug and Play device ID of the audio device that is the source of the capture stream.

Get Set Target Property Descriptor Type Property Value Type
No Yes Filter KSPROPERTY WCHAR array

The property value (operation data) is a WCHAR array that contains the device ID. The device ID is a null-terminated string of Unicode characters.

Return Value

A KSPROPERTY_AUDIOGFX_CAPTURETARGETDEVICEID property request returns STATUS_SUCCESS to indicate that it has completed successfully. Otherwise, the request returns an appropriate error status code.

Headers

Declared in ksmedia.h. Include ksmedia.h.

Comments

The target for this set-only property request is a GFX filter that is configured for use as either a capture- or render/capture-GFX filter.

To determine the size of the buffer needed to hold the property value, see Basic Support Queries for Audio Properties.

For additional information about GFX filters and device IDs, see GFX Filters and Device Identification Strings.

See Also

KSPROPERTY