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 two FoxPro applications
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
Pocket PC: custom RAPI class for operating with files and folders on mobile device
Monitoring changes in a directory
Using Change Notification Objects to monitor changes to the printer or print server
Pocket PC: base class
Pocket PC: custom RAPI class for operating with the System Registry
Starting external program from VFP and waiting for its termination
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Using an Event Object. Part B: running an application responding to events
Using the Semaphore object
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: 74
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.242.188.217)
2.82 hrs.Function: 'WNetGetConnection'
Function group: 'Windows Networking'
 Example: 'GDI+: Drawing a Pie Chart'
3.57 hrs.
Function group: 'Setup API functions'
3.58 hrs.Function: 'CryptReleaseContext'
Function group: 'Cryptography Reference'
8.79 hrs.Function: 'GetWindowThreadProcessId'
10.83 hrs.Function: 'GetCapture'
Function group: 'Mouse Input'
12.45 hrs.Function: 'SelectObject'
15.52 hrs.Example: 'A class that encrypts and decrypts files using Cryptography API Functions'
17.82 hrs.Example: 'How to play AVI file on the _screen'
 Example: 'How to enable the SE_SHUTDOWN_NAME privilege for the application'
Google
Advertise here!