Microsoft DirectX 9.0


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


HRESULT CreatePin(
  ULONG  ulPinType,
  ULONG*  pulPinId



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


[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