KsReleaseDevice function (ks.h)

The KsReleaseDevice function releases the device mutex and exits the critical region.

Syntax

void KsReleaseDevice(
  [in] PKSDEVICE Device
);

Parameters

[in] Device

A pointer to a KSDEVICE structure representing the AVStream device for which to release synchronous control.

Return value

None

Remarks

KsReleaseDevice is used by a client that has finished accessing the device in a synchronous manner following a previous call to KsAcquireDevice.

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

KsAcquireDevice