Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 875 Bytes

ResetEvent.md

File metadata and controls

41 lines (28 loc) · 875 Bytes

Home

Function name : ResetEvent

Group: Synchronization - Library: kernel32


The ResetEvent function sets the specified event object to the nonsignaled state.


Code examples:

Using an Event Object. Part B: running an application responding to events

Declaration:

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

FoxPro declaration:

DECLARE INTEGER ResetEvent 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.