For Windows, writed on C.