IKsJackSinkInformation::GetJackSinkInformation method (devicetopology.h)

The GetJackSinkInformation method retrieves the sink information for the specified jack.

Syntax

HRESULT GetJackSinkInformation(
  [out] KSJACK_SINK_INFORMATION *pJackSinkInformation
);

Parameters

[out] pJackSinkInformation

Pointer to a caller-allocated buffer that receives the sink information of the jack in a KSJACK_SINK_INFORMATION structure. The buffer size must be at least sizeof(KSJACK_SINK_INFORMATION).

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_INVALIDARG
Parameter nJack is not a valid jack index.
E_POINTER
Pointer pDescription 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

IKsJackSinkInformation