NetCharDevQGetInfo or Net32CharDevQGetInfo

The NetCharDevQGetInfo API retrieves information about a particular serial device queue on a server.