Notes on Using This Function

Before sending keystrokes to a PCOMM session, be sure that the session is a Unicode session. If the session is ANSI and a Unicode string is sent, junk characters will be displayed.

The string length should indicate the number bytes and not the number of Unicode characters to be sent. Therefore the length should be a multiple of 2. If not, a parameter error will be returned by the function.