SetBindHost method

Specifies the bind host that the transform should use.

Syntax

HRESULT retVal = object.SetBindHost(pBindHost);

Parameters

  • pBindHost [in]
    Type: IBindHost

    Pointer to the bind host interface that the transform should use.

Remarks

A call to IDXTBindHost::SetBindHost with a NULL parameter must be allowed by transform objects. In response to this call, the previously set bind host should be released and no longer used. It is not guaranteed that the bind host object will continue to exist, even if it is reference-counted after this call on the transform object. Failure to properly implement this rule could cause transforms to fault when they release or are called through their IBindHost pointer. For more information, see a Component Object Model (COM) reference for the IBindHost interface.