Skip to content

Latest commit

 

History

History
97 lines (76 loc) · 3.32 KB

nf-devicetopology-iaudioinputselector-getselection.md

File metadata and controls

97 lines (76 loc) · 3.32 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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 req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:devicetopology.IAudioInputSelector.GetSelection
IAudioInputSelector::GetSelection (devicetopology.h)
The GetSelection method gets the local ID of the part that is connected to the selector input that is currently selected.
GetSelection
GetSelection method [Core Audio]
GetSelection method [Core Audio]
IAudioInputSelector interface
IAudioInputSelector interface [Core Audio]
GetSelection method
IAudioInputSelector.GetSelection
IAudioInputSelector::GetSelection
IAudioInputSelectorGetSelection
coreaudio.iaudioinputselector_getselection
devicetopology/IAudioInputSelector::GetSelection
coreaudio\iaudioinputselector_getselection.htm
CoreAudio
38288a63-62a3-4b06-b2e6-dbe8c27e09ad
12/05/2018
GetSelection, GetSelection method [Core Audio], GetSelection method [Core Audio],IAudioInputSelector interface, IAudioInputSelector interface [Core Audio],GetSelection method, IAudioInputSelector.GetSelection, IAudioInputSelector::GetSelection, IAudioInputSelectorGetSelection, coreaudio.iaudioinputselector_getselection, devicetopology/IAudioInputSelector::GetSelection
devicetopology.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
IAudioInputSelector::GetSelection
devicetopology/IAudioInputSelector::GetSelection
c++
APIRef
kbSyntax
COM
Devicetopology.h
IAudioInputSelector.GetSelection

IAudioInputSelector::GetSelection

-description

The GetSelection method gets the local ID of the part that is connected to the selector input that is currently selected.

-parameters

-param pnIdSelected [out]

Pointer to a UINT variable into which the method writes the local ID of the part that directly links to the currently selected selector input.

-returns

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER
Pointer pnIdSelected is NULL.

-remarks

A local ID is a number that uniquely identifies a part among all parts in a device topology. To obtain a pointer to the IPart interface of a part from its local ID, call the IDeviceTopology::GetPartById method.

-see-also

IAudioInputSelector Interface

IDeviceTopology::GetPartById

IPart Interface