SERIALKEYS Structure

Type SERIALKEYS
  cbSize As Long
  dwFlags As Long
  lpszActivePort As String
  lpszPort As String
  iBaudRate As Long
  iPortState As Long
End Type

SERIALKEYS-type variables store information about the SerialKeys accessibility feature. SerialKeys allows a device connected to a serial port to imitate the mouse and/or keyboard. This structure stores the settings for SerialKeys.

cbSize
The size in bytes of the structure.
dwFlags
Zero or more of the following flags specifying various settings and properties of SerialKeys:
SERKF_ACTIVE = &H8
SerialKeys is currently receiving input on the serial port.
SERKF_AVAILABLE = &H2
The SerialKeys feature is available.
SERKF_INDICATOR = &H4
Display an icon in the system tray while SerialKeys is on.
SERKF_SERIALKEYSON = &H1
SerialKeys is currently on.
lpszActivePort
The name of the serial port to read from. An empty string signifies no port. "Auto" means SerialKeys will monitor any otherwise unused serial ports.
lpszPort
Reserved.
iBaudRate
The baud rate of the port identified by lpszActivePort. Valid baud rates are 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200, 128000, and 256000.
iPortState
Identifies the state of the port identified by lpszActivePort. 0 means that all input is ignored. 1 means that the port is being monitored for SerialKeys input when not being used by other programs. 2 means that all input is sent to SerialKeys.

Used by: SystemParametersInfo

Go back to the alphabetical Structure listing.
Go back to the Reference section index.


This page is copyright © 2000 Paul Kuliniewicz. Copyright Information.
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/s/serialkeys.html