Bewerken

Delen via


BdaCreateTopology function (bdasup.h)

The BdaCreateTopology function creates the topology between two pins.

Syntax

NTSTATUS BdaCreateTopology(
  [in] PKSFILTER pKSFilter,
  [in] ULONG     InputPinId,
  [in] ULONG     OutputPinId
);

Parameters

[in] pKSFilter

Points to the BDA filter on which to create topology.

[in] InputPinId

Specifies the identifier of the filter's input pin.

[in] OutputPinId

Specifies the identifier of the filter's output pin.

Return value

Returns STATUS_SUCCESS or an appropriate error code. Returns NULL if no valid pin pairing exists with the specified input and output pins.

Remarks

A BDA minidriver calls the BdaMethodCreateTopology function when the network provider dynamically creates a topology between filter pins using the KSMETHOD_BDA_CREATE_TOPOLOGY request of the KSMETHODSETID_BdaDeviceConfiguration method set. If a BDA minidriver must create a topology between filter pins without relying on the network provider, the BDA minidriver should call the BdaCreateTopology function directly.

Requirements

Requirement Value
Minimum supported client Available on Microsoft Windows XP and later operating systems.
Target Platform Desktop
Header bdasup.h (include Bdasup.h)
Library Bdasup.lib
IRQL PASSIVE_LEVEL

See also

BdaMethodCreateTopology

KSFILTER

KSMETHODSETID_BdaDeviceConfiguration

KSMETHOD_BDA_CREATE_TOPOLOGY