Macros, constantes, structures, ... WINDOW status variable GEM extensions
Programming guideline of WinDom

code error

Many WinDom functions return a negative code error. In this version, WinDom tries to standardize this errors to TOS code errors. However, some functions return yet non standardized errors. It should be fixed in the future... The WinDom package supplies an header file (toserror.h) which describe all TOS errors.

E_OK
no error,

EBADRQ
bad request (one or several parameters are not valid),

ERANGE
range error,

ENSMEM
insufficient memory,

EFILNF
file not found.