Microsoft DirectX 9.0

IBDA_Topology::CreatePin

The CreatePin method creates an instance of a specified pin type.

Syntax

HRESULT CreatePin(
  ULONG  ulPinType,
  ULONG*  pulPinId
);

Parameters

  ulPinType

[in]  Specifies the type of pin to create. To obtain the available values, call IBDA_Topology::GetPinTypes.

  pulPinId

[out]  Pointer that receives the identifier for the new pin.

Return Values

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

See Also