win32event.CreateEvent

PyHANDLE = CreateEvent(EventAttributes, bManualReset , bInitialState , Name )

Creates a waitable event

Parameters

EventAttributes : PySECURITY_ATTRIBUTES

The security attributes, or None

bManualReset : bool

flag for manual-reset event

bInitialState : bool

flag for initial state

Name : PyUnicode

event-object name, or None

Return Value

The result is a handle to the created object