correct prototypes in ui and gui project
use unified parameter names for each type
use union for field structure data pointer