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 an Event Object. Part A: running an application that creates an Event object
CreateEvent
..msdn    Add comment     W32 Constants      Translate this page
The CreateEvent function creates or opens a named or unnamed event object.
Code examples:
Using an Event Object. Part A: running an application that creates an Event object
Declaration:
HANDLE CreateEvent(
  LPSECURITY_ATTRIBUTES lpEventAttributes, // SD
  BOOL bManualReset,                       // reset type
  BOOL bInitialState,                      // initial state
  LPCTSTR lpName                           // object name
);
FoxPro declaration:
DECLARE INTEGER CreateEvent IN kernel32;
    INTEGER lpEventAttributes,;
    INTEGER bManualReset,;
    INTEGER bInitialState,;
    STRING  lpName
Parameters:
lpEventAttributes
[in] Pointer to a structure that determines whether the returned handle can be inherited by child processes.

bManualReset
[in] Specifies whether a manual-reset or auto-reset event object is created.

bInitialState
[in] Specifies the initial state of the event object.

lpName
[in] Pointer to a null-terminated string specifying the name of the event object.
Return value:
If the function succeeds, the return value is a handle to the event object.
Word Index links for the CreateEvent :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-16 12:00:00
Modified: 2001-11-26 16:03:38
Visited in last 7 days: 31
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.76.240)
4 sec.Function: 'GdipCreateStringFormat'
9 sec.
Function group: 'HTTP Functions (WinHTTP)'
13 sec.Function: 'GetFileVersionInfo'
17 sec.Function: 'CryptReleaseContext'
21 sec.Function: 'DeleteMenu'
26 sec.Function: 'FatalAppExit'
31 sec.Function: 'BeginUpdateResource'
37 sec.Function: 'DefWindowProc'
42 sec.Function: 'GetAdaptersAddresses'
50 sec.
Function group: 'Process and Thread'
Google
Advertise here!