Microsoft DirectX 9.0

IBDA_Topology::GetControlNode

The GetControlNode method retrieves an IUnknown interface pointer for a specified control node.

Syntax

HRESULT GetControlNode(
  ULONG  ulInputPinId,
  ULONG  ulOutputPinId,
  ULONG  ulNodeType,
  IUnknown**  ppControlNode
);

Parameters

  ulInputPinId

[in]  Specifies the identifier of the input pin for which a topology should be created.

  ulOutputPinId

[in]  Specifies the identifier of the output pin for which a topology should be created.

  ulNodeType

[in]  The type of node to be opened.

  ppControlNode

[out]  Pointer to a pointer to the control node's IUnknown interface

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

See Also