win32event.OpenEvent

PyHANDLE = OpenEvent(desiredAccess, bInheritHandle , name )

Returns a handle of an existing named event object.

Parameters

desiredAccess : int

access flag - one of win32event::EVENT_ALL_ACCESS , win32event::EVENT_MODIFY_STATE , or (NT only) win32event::SYNCHRONIZE

bInheritHandle : bool

inherit flag

name : PyUnicode

name of event to open.