setupapi: enumerate serial ports

Alexandre Julliard julliard at
Fri Feb 25 16:39:24 CST 2005

Juan Lang <juan_lang at> writes:

> I'm not sure it is.  I just tried it, and QueryDosDevice returns success
> for every COMx passed to it, even though only com1 exists in my dosdevices
> directory.  Unless QueryDosDevice is also wrong (I don't know.)

You don't necessarily need symlinks, by default it will fallback to
/dev/ttyS?. So if the corresponding ttyS? device exists QueryDosDevice
will succeed, which is correct since you do have that serial port.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list