IKsPin::KsQueryInterfaces method (ksproxy.h)

The KsQueryInterfaces method retrieves interfaces that a pin supports.

Syntax

HRESULT KsQueryInterfaces(
  [out] PKSMULTIPLE_ITEM *InterfaceList
);

Parameters

[out] InterfaceList

Pointer to a buffer that receives a pointer to a KSMULTIPLE_ITEM structure, followed by a sequence of KSPIN_INTERFACE structures that describe interface types. The KSMULTIPLE_ITEM structure is a header that describes the size of the buffer and the number of entries in the list that follows the header.

Return value

Returns NOERROR if successful; otherwise, returns an error code.

Remarks

The returned interfaces are ordered by preference.

Requirements

Requirement Value
Target Platform Desktop
Header ksproxy.h (include Ksproxy.h)

See also

KSMULTIPLE_ITEM

KSPIN_INTERFACE