Expand Minimize

KsPinAcquireControl function

The KsPinAcquireControl function acquires the control mutex for the AVStream pin specified by Pin.

Syntax


void __inline KsPinAcquireControl(
  _In_  PKSPIN Pin
);

Parameters

Pin [in]

A pointer to the KSPIN for which to acquire the control mutex.

Return value

None

Remarks

The pin control mutex is the same mutex that is used by Pin's parent. This means that the mutex for Pin is also a filter control mutex. For more information, see Mutexes in AVStream.

KsPinAcquireControl is an inline call to KsAcquireControl with the appropriate typecasting. Minidrivers manipulating pins should call KsPinAcquireControl instead of calling KsAcquireControl directly.

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)

IRQL

PASSIVE_LEVEL

See also

KsAcquireControl
KsPinReleaseControl
KsReleaseControl
KSPIN

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft