Found this code example somewhere, but without too many good comments (that french one or watever language is isn't mine as well): Code: HANDLE hCom; COMMTIMEOUTS lpTo; COMMCONFIG lpCC; char str_com[10]; unsigned short no_com = 0; sprintf( str_com, "\\\\.\\COM%d\0", no_com+1); hCom = CreateFile(str_com,GENERIC_READ|GENERIC_WRITE,0,NULL, OPEN_EXISTING,FILE_FLAG_OVERLAPPED,NULL); GetCommState( hCom, &lpCC.dcb); /* Initialisation des parametres par defaut */ lpCC.dcb.BaudRate = CBR_9600; lpCC.dcb.ByteSize = 8; lpCC.dcb.StopBits ...