KsAcquireDevice function (ks.h)

The KsAcquireDevice function gains synchronous access for Device by acquiring the device mutex.

Syntax

void KsAcquireDevice(
  [in] PKSDEVICE Device
);

Parameters

[in] Device

An AVStream device for which synchronous control should be acquired.

Return value

None

Remarks

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

KSDEVICE

KsReleaseDevice