KsReleaseControl function (ks.h)

The KsReleaseControl function releases the control mutex for Object.

Syntax

void KsReleaseControl(
  [in] PVOID Object
);

Parameters

[in] Object

The object for which to release the control mutex.

Return value

None

Remarks

Object should be either a filter or a pin cast to PVOID.

Minidrivers typically do not call KsReleaseControl directly, but instead call KsFilterReleaseControl or KsPinReleaseControl. These versions automatically provide the necessary typecasting to PVOID.

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 Universal
Header ks.h (include Ks.h)
Library Ks.lib
IRQL PASSIVE_LEVEL

See also

KsAcquireControl

KsFilterAcquireControl

KsFilterReleaseControl

KsPinAcquireControl

KsPinReleaseControl