IKsInterfaceHandler::KsSetPin method (ksproxy.h)

The KsSetPin method informs the streaming interface handler about the pin with which to communicate when passing data.

Syntax

HRESULT KsSetPin(
  [in] IKsPin *KsPin
);

Parameters

[in] KsPin

Pointer to the IKsPin interface for the pin to which this streaming interface handler is to be attached. This pin must support the IKsObject interface from which the underlying kernel handle can be obtained.

Return value

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

Remarks

The KsSetPin method is called after an instance of the interface handler is created but before any streaming is required of the instance.

Requirements

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

See also

IKsObject

IKsPin