Bewerken

Delen via


BdaUninitFilter function (bdasup.h)

The BdaUninitFilter function removes the BDA filter context from the associated filter instance.

Syntax

NTSTATUS BdaUninitFilter(
  [in] PKSFILTER pKSFilter
);

Parameters

[in] pKSFilter

Points to the filter from which to remove the BDA filter context.

Return value

Returns STATUS_SUCCESS or an appropriate error code.

Remarks

The BdaUninitFilter function exists only to support legacy drivers and is, therefore, obsolete. That is, new BDA minidriver implementations should not call BdaUninitFilter.

In Windows XP and later, the BDA support driver (Bdasup.sys) automatically handles removing the BDA filter context associated with a filter instance. When a BDA minidriver calls BdaInitFilter, the BDA support driver creates its own BDA filter context. This BDA filter context is hidden from the BDA minidriver. However, when required, the BDA support driver can access this BDA filter context. The BDA support driver adds a pointer to this BDA filter context to the object bag for the associated KSFILTER object. When the associated KSFILTER object is destroyed, AVStream requests that the BDA support driver delete this BDA filter context from the object bag. In this way, the BDA support driver can destroy this BDA filter context without requiring intervention by the BDA minidriver.

Requirements

Requirement Value
Minimum supported client Available on Microsoft Windows XP and later operating systems. This routine is available on the Windows 2000 platform only if Microsoft DirectX 9.0 and later is installed on that platform.
Target Platform Desktop
Header bdasup.h (include Bdasup.h)
Library Bdasup.lib
IRQL PASSIVE_LEVEL

See also

BdaInitFilter

KSFILTER