windows_examples: define special functions which can be missing in Windows MinGW compiler
windows_examples/console_attr: restore attributes when exiting
windows_examples/list_drives: GetVolumePathNamesForVolumeName is only defined for windows >= 5.1 in MinGW
windows_examples: fix minor bugs
windows_examples: improve expected error handling
c_examples: pass -fstack-protector option to linker
windows_examples: improve compilation flags
windows_examples: rename GCC variable to WINCC