The answer is INCOMPLETE and MISLEADING! There are quite some functions documented to set the last error code which but don't, and vice versa as well!