Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 872 Bytes

SetEvent.md

File metadata and controls

41 lines (28 loc) · 872 Bytes

Home

Function name : SetEvent

Group: Synchronization - Library: kernel32


The SetEvent function sets the specified event object to the signaled state.


Code examples:

Using an Event Object. Part A: running an application that creates an Event object

Declaration:

BOOL SetEvent(
  HANDLE hEvent   // handle to event
);  

FoxPro declaration:

DECLARE INTEGER SetEvent IN kernel32;
	INTEGER hEvent  

Parameters:

hEvent [in] Handle to the event object. The CreateEvent or OpenEvent function returns this handle.


Return value:

If the function succeeds, the return value is nonzero.