Compartilhar via


comm/datamodem/portname

The comm/datamodem/portname device class consists of the device names to which modems are attached. When this device name is specified in a call to the TSPI_lineGetID function, the service provider fills the VARSTRING structure with a NULL-terminated ANSI (not Unicode) string specifying the name of the port to which the specified modem is attached, such as "COM1\0". This is intended primarily for identification purposes in the user interface, but could be used under some circumstances to open the device directly, bypassing the service provider (if the service provider does not already have the device open itself). If there is no port associated with the device, a NULL string ("\0") is returned in the VARSTRING structure (with a string length of 1).