Share via


IBDA_Topology::CreatePin Method

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

Syntax

HRESULT CreatePin(
  [in]   ULONG ulPinType,
  [out]  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 Value

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

Requirements

Header Declared in Bdaiface.h.

See Also

Error and Success Codes
IBDA_Topology Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008