Expand Minimize

KsFilterAcquireProcessingMutex function

The KsFilterAcquireProcessingMutex function acquires the processing mutex for a specified AVStream filter.

Syntax


void KsFilterAcquireProcessingMutex(
  _In_  PKSFILTER Filter
);

Parameters

Filter [in]

A pointer to the KSFILTER structure representing the AVStream filter for which to acquire the processing mutex.

Return value

None

Remarks

AVStream holds the processing control mutex upon return from this routine. For more information, see Mutexes in AVStream.

A minidriver that must suspend processing for a long period of time should not use this mechanism. Instead, it should manipulate the processing control gate directly by using the KSGATEXxx functions.

Requirements

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

PASSIVE_LEVEL

See also

KsFilterReleaseProcessingMutex
KsFilterReleaseProcessingMutex
KsFilterAttemptProcessing
KsPinGetAndGate
KsPinAcquireProcessingMutex
KsPinReleaseProcessingMutex

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft