Multitasking: GUI_X_InitOS() GUI_X_GetTaskId() GUI_X_Lock() GUI_X_Unlock() Note: The following routines are required only if emWin is used in a true multi task environment, which means you have more than one thread using the emWin API. In this case the #define GUI_OS 1 needs to be in GUIConf.h