public static ErrorNumberEnum FreeEvent(IntPtr evt) { return((ErrorNumberEnum)WrapperInterface.freeEvent(evt)); }