IKsJackSinkInformation::GetJackSinkInformation method

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

Syntax


HRESULT GetJackSinkInformation(
  [out] KSJACK_SINK_INFORMATION *pJackSinkInformation
);

Parameters

pJackSinkInformation [out]

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

Parameter nJack is not a valid jack index.

E_POINTER

Pointer pDescription 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

IKsJackSinkInformation

 

 

Show: