EngReleaseSemaphore function (winddi.h)

The EngReleaseSemaphore function releases the specified semaphore.

Syntax

ENGAPI VOID EngReleaseSemaphore(
  [in] HSEMAPHORE hsem
);

Parameters

[in] hsem

Handle to the semaphore to be released.

Return value

None

Remarks

EngReleaseSemaphore releases the semaphore's exclusive lock on a driver's resource and reenables the delivery of special kernel asynchronous procedure calls.

The lock and asynchronous procedure call suspension were acquired in a call to EngAcquireSemaphore.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngAcquireSemaphore

EngDeleteSemaphore

EngIsSemaphoreOwned

EngIsSemaphoreOwnedByCurrentThread