BdaCreatePin - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bdasup.h

NTSTATUS BdaCreatePin(
  [in]            PKSFILTER pKSFilter,
  [in]            ULONG     ulPinType,
  [out, optional] PULONG    pulPinId
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-bdasup-bdacreatepin)

BdaCreatePin function

Description

The BdaCreatePin function creates a new pin in the specified filter.

Parameters

pKSFilter [in]

Points to the filter in which to create a pin.

ulPinType [in]

Specifies the type of pin to create. The BDA minidriver must define a list of pin types for each filter that it supports.

pulPinId [out, optional]

Points to a variable that receives the identifier for the created pin.

Return value

Returns STATUS_SUCCESS or an appropriate error code.

Remarks

A BDA minidriver calls the BdaMethodCreatePin function when the network provider dynamically creates a pin using the KSMETHOD_BDA_CREATE_PIN_FACTORY request of the KSMETHODSETID_BdaDeviceConfiguration method set. If a BDA minidriver must create a pin without relying on the network provider, the BDA minidriver should call the BdaCreatePin function directly.

.

See also

BdaDeletePin

BdaMethodCreatePin

KSFILTER

KSMETHODSETID_BdaDeviceConfiguration

KSMETHOD_BDA_CREATE_PIN_FACTORY