Changes as proposed by Koen Desaeger and Helmut Zinn in CPC_1.7 rc4.
Change all occurrences of WINSPOOL.dll to WINSPOOL.drv (Helmut Zinn)
Change all occurrences of VAR [nil] lpData: SHORTCHAR => lpData: PtrVoid (Koen Desaeger)
Change WM_KEYLAST* = 265; to WM_KEYLAST* = 264 (* {3, 8} *);
Some constants and procedures have been added.
Some comments are added in order to describe the intended data type.
The default variant of a procedure that exists for ascii and for unicode has been
enclosed in fold elems.

Signed-off-by: Josef Templ <josef.templ@gmail.com>