KsFilterAcquireControl function (ks.h)

The KsFilterAcquireControl function acquires the filter control mutex for the AVStream filter specified by Filter.

Syntax

void KsFilterAcquireControl(
  [in] PKSFILTER Filter
);

Parameters

[in] Filter

The KSFILTER for which to acquire the control mutex.

Return value

None

Remarks

This function is an inline call to KsAcquireControl with the appropriate typecasting. Minidrivers that manipulate the filter control mutex should call this function instead of calling KsAcquireControl directly. For more information, see Mutexes in AVStream.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Desktop
Header ks.h (include Ks.h)
IRQL PASSIVE_LEVEL

See also

KSFILTER

KsAcquireControl

KsFilterReleaseControl