conform hostname parameter for gethostbyname
add getsysteminfo/getnativesysteminfo signatures
move deviceiocontrol to the file category
fix compile warning
ensure the required header files are present when compiling
get rid of copy-file macros
zero-terminate the unicode buffer just in case
allocate more unicode buffers just in case, improved allocation