Class CWin32Semaphore::
Release()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: operator =Next page: ReleaseObject    Show member index
Public Function Declared in:
Win32Semaphore.h

'Declaration' icon -- Shortcut to top of page. Declaration

virtual long Release(
    long lAmount=1);

'Description' icon -- Shortcut to top of page. Description

Decrease the semaphore count

'Function Body' icon -- Shortcut to top of page. 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' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CGenericSemaphore  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!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.