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:
How to prevent users from accessing the Windows Desktop and from switching to other applications
Monitoring changes in a directory
Pocket PC: base class
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Pocket PC: custom RAPI class for operating with the System Registry
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Starting external program from VFP and waiting for its termination
Using an Event Object. Part B: running an application responding to events
Using Change Notification Objects to monitor changes to the printer or print server
Using shared memory to exchange data between applications (processes)
Using the Semaphore object
WaitForSingleObject
    Add comment     W32 Constants      Translate this page
The WaitForSingleObject function returns when the specified object is in the signaled state or when the time-out interval elapses
Code examples:
How to prevent users from accessing the Windows Desktop and from switching to other applications
Using Change Notification Objects to monitor changes to the printer or print server
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Using shared memory to exchange data between applications (processes)
Starting external program from VFP and waiting for its termination
Pocket PC: custom RAPI class for operating with the System Registry
Pocket PC: base class
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Using the Semaphore object
Monitoring changes in a directory
Declaration:
DWORD WaitForSingleObject(
    HANDLE  hObject,    // handle of object to wait for 
    DWORD  dwTimeout     // time-out interval in milliseconds  
   );
FoxPro declaration:
DECLARE INTEGER WaitForSingleObject IN kernel32;
    INTEGER hHandle,;
    INTEGER dwMilliseconds

Parameters:
hObject
Identifies the object

dwTimeout
Specifies the time-out interval, in milliseconds
Return value:
If the function succeeds, the return value indicates the event that caused the function to return
Word Index links for the WaitForSingleObject :
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:59
Visited in last 7 days: 69
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.36), 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.81.105)
14 sec.Function: 'SQLDataSources'
22 sec.Function: 'WSAStartup'
29 sec.Function: 'WSACloseEvent'
45 sec.Function: 'WNetGetConnection'
59 sec.Function: 'waveInOpen'
1.1 min.Function: 'waveOutGetVolume'
1.23 min.Function: 'SetWindowLong'
1.37 min.Function: 'SQLConfigDataSource'
1.72 min.Function: 'RemoveDirectory'
3.35 min.Function: 'TerminateProcess'
Google
Advertise here!