The WriteStr method writes a string into serial port.
LONG WriteStr( | ||
BSTR Str, | // string | |
); |
Parameters
Buffer [in] Pointer to the buffer containing the data to be written to the port.
Return Values The WriteStr method returns the number of bytes sent to serial port.
See also
Read method, ReadStr method, Write method, ReadVariant method, WriteVariant method