IKsJackDescription2::GetJackCount method (devicetopology.h)

The GetJackCount method gets the number of jacks on the connector, which are required to connect to an endpoint device.

Syntax

HRESULT GetJackCount(
  [out] UINT *pcJacks
);

Parameters

[out] pcJacks

Receives the number of audio jacks associated with the connector.

Return value

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 pcJacks is NULL.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header devicetopology.h

See also

IKsJackDescription2