◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── int CommWriteString(cid, pbuf, size) int cid; LPSTR pbuf; int size; The CommWriteString function transmits a string of characters using the specified communications device. USER calls this function whenever an application calls the WriteComm function (USER.205). Parameter Description ──────────────────────────────────────────────────────────────────────────── cid Identifies the communication device. pbuf Points to the buffer containing the bytes to write. size Specifies the number of bytes to write. Return Value The return value is the number of bytes actually written. Comments The export ordinal for this function is 19. During initialization, USER checks for this function to determine whether the driver supports the extended functions new to Windows 3.1. If the function is not present, Windows assumes that the driver is a Windows 3.0 driver and makes sure that all interaction with the driver is compatible with Windows 3.0. ♦