次の方法で共有


IBDA_Topology::CreatePin method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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

Syntax

HRESULT CreatePin(
  [in]  ULONG ulPinType,
  [out] ULONG *pulPinId
);

Parameters

[in] ulPinType

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

[out] pulPinId

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

Requirement Value
Target Platform Windows
Header bdaiface.h

See also

Error and Success Codes

IBDA_Topology Interface