Sorry this is going to be more impolite than most HN comments, but this person doesn't know what they're doing. WriteFile returns hardcoded TRUE. NtReadFile() returns a char*. NtWriteFile does a string compare if the filename is "CON", and the entire functionality is a strcpy() otherwise. This is not what a replacement Windows kernel looks like.<p>Source: <a href="https://github.com/Versoft-Software/Free95/blob/main/free95/src/win32.c" rel="nofollow">https://github.com/Versoft-Software/Free95/blob/main/free95/...</a>