次の方法で共有


IBDA_Topology::GetTemplateConnections 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 GetTemplateConnections method retrieves a list of all template connections that appear in the template topology for this filter and network type.

Syntax

HRESULT GetTemplateConnections(
  [out] ULONG                      *pulcConnections,
  [in]  ULONG                      ulcConnectionsMax,
  [out] BDA_TEMPLATE_CONNECTION [] rgConnections
);

Parameters

[out] pulcConnections

Pointer to a value to receive the number of connections in the list.

[in] ulcConnectionsMax

The maximum number of connections that can be held by the rgConnections buffer.

[out] rgConnections

Pointer to a buffer that receives the list of connections.

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