There is already a msvcrt module on windows. No need for ctypes wrapping.