Unfortunately Windows only supports specific baudrates.
Well, this is not quite true - any baudrate can be specified in DCB structure used in WinAPI to set serial devices' properties; however, it depends on the particular device's driver how does it interpret. See for example
here: "BaudRate The baud rate at which the communications device operates. This member can be an actual baud rate value, or one of the following indexes."
However, there is no standard method to discover, which particular baudrates are actually supported by a given COM port; on the other hand, there barely exists any form of serial port not supporting the "standard" baudrates, hence they are considered safe to use. If I would implement such a function, I would not expose it in the front window; rather, I would hide it somehow in the "advanced" functions.
JW