KsAcquireControl - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ks.h

void KsAcquireControl(
  [in] PVOID Object
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksacquirecontrol)

KsAcquireControl function

Description

The KsAcquireControl function acquires the filter control mutex for Object.

Parameters

Object [in]

A pointer to the object for which to acquire the filter control mutex. This should be a pointer to either a KSFILTER or a KSPIN, cast to PVOID.

Remarks

Minidrivers typically do not call this function directly, but instead call either KsFilterAcquireControl or KsPinAcquireControl. These functions provide the necessary typecasting to PVOID automatically.

For more information, see Mutexes in AVStream.

See also

KSFILTER

KSPIN

KsFilterAcquireControl

KsPinAcquireControl

KsReleaseControl