IKsJackDescription2::GetJackCount method

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

pcJacks [out]

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 codeDescription
E_POINTER

Pointer pcJacks is NULL.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Devicetopology.h

See also

IKsJackDescription2

 

 

Show: