Expand Minimize

EngReleaseSemaphore function

The EngReleaseSemaphore function releases the specified semaphore.

Syntax


VOID EngReleaseSemaphore(
  _In_ HSEMAPHORE hsem
);

Parameters

hsem [in]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngAcquireSemaphore
EngDeleteSemaphore
EngIsSemaphoreOwned
EngIsSemaphoreOwnedByCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft