![]() |
Release() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Public Function |
Declared in: Win32Semaphore.h |
Declaration
virtual long Release(
long lAmount=1);
DescriptionDecrease the semaphore count
Function Body
long lOld;
BOOL bResult;
//Release it
bResult=ReleaseSemaphore(m_hSemaphore,lAmount,&lOld);
//Check if it's an error
if (bResult)
return lOld;
else
return -1;
See Also
This web site was generated
using Surveyor V4.50.811.1. Click
here
for more information. |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |