Use pointers in windowsSerialPort methods