Using Win32 functions in Visual FoxPro Image Gallery
Synchronization
..msdn
CreateEvent
CreateMutex
CreateSemaphore
CreateWaitableTimer
OpenEvent
OpenSemaphore
OpenWaitableTimer
ReleaseMutex
ReleaseSemaphore
ResetEvent
SetEvent
SetWaitableTimer
WaitForSingleObject
Code examples:
Using the Semaphore object
ReleaseSemaphore
    Add comment     W32 Constants      Translate this page
The ReleaseSemaphore function increases the count of the specified semaphore object by a specified amount
Code examples:
Using the Semaphore object
Declaration:
BOOL ReleaseSemaphore(
    HANDLE  hSemaphore,    // handle of the semaphore object  
    LONG  cReleaseCount,    // amount to add to current count  
    LPLONG  lplPreviousCount     // address of previous count 
   );    

FoxPro declaration:
DECLARE INTEGER ReleaseSemaphore IN kernel32;
    INTEGER   hSemaphore,;
    INTEGER   lReleaseCount,;
    INTEGER @ lpPreviousCount

Parameters:
hSemaphore
Identifies the semaphore object

cReleaseCount
Specifies the amount by which the semaphore object"s current count is to be increased

lplPreviousCount
Points to a 32-bit variable to receive the previous count for the semaphore
Return value:
If the function succeeds, the return value is TRUE
Word Index links for the ReleaseSemaphore :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2001-11-26 16:01:58
Visited in last 7 days: 37
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
17 sec.Function: 'waveOutGetErrorText'
34 sec.Function: 'DragDetect'
51 sec.Function: 'timeGetDevCaps'
1.13 min.Function: 'waveOutGetPosition'
1.45 min.Function: 'SHParseDisplayName'
1.8 min.Function: 'WTSSendMessage'
2.13 min.Function: 'OemToChar'
2.43 min.Function: 'UrlUnescape'
2.78 min.Function: 'NetShareSetInfo'
3.15 min.Function: 'CombineRgn'
Google
Advertise here!