def set_event_mgr(dinfo, event_mgr, context=None):
argtypes = [ctypes.POINTER(CommonStructType),<EOL>ctypes.POINTER(EventMgrType),<EOL>ctypes.c_void_p]<EOL>OPENJPEG.opj_set_event_mgr.argtypes = argtypes<EOL>OPENJPEG.opj_set_event_mgr(ctypes.cast(dinfo,<EOL>ctypes.POINTER(CommonStructType)),<EOL>event_mgr, context)<EOL>
Wrapper for openjpeg library function opj_set_event_mgr.