please dont rip this site Prev Next

SERIALKEYS info  Overview  Group

The SERIALKEYS structure contains information about the SerialKeys accessibility feature, which interprets data from a communication aid attached to a serial port as commands causing the system to simulate keyboard and mouse input.

typedef struct tagSERIALKEYS {     // sk 

    DWORD cbSize; 

    DWORD dwFlags; 

    LPSTR lpszActivePort; 

    LPSTR lpszPort; 

    DWORD iBaudRate; 

    DWORD iPortState; 

} SERIALKEYS, FAR* LPSERIALKEYS; 

 

Members

cbSize
Specifies the structure size, in bytes.
dwFlags
Specifies a combination of the following values:

Value

Meaning

SERKF_ACTIVE

The SerialKeys feature is currently receiving input on the serial port specified by lpszPort.

SERKF_AVAILABLE

The SerialKeys feature is available.

SERKF_INDICATOR

A visual indicator is displayed when the SerialKeys feature is on. This value is not currently used and is ignored.

SERKF_SERIALKEYSON

The SerialKeys feature is on.

lpszActivePort
Points to a string that contains the name of the serial port that receives input from the communication aid when the SerialKeys feature is on. If no port is being used, this member is NULL. If this member is “Auto”, the system watches all unused serial ports for input from communication aids.
lpszPort
Reserved; must be NULL.
iBaudRate
Specifies the baud rate setting for the serial port specified by the lpszActivePort member. This member should be set to one of the CBR_ values defined in the Windows header files. If lpszActivePort is NULL, this member is zero.
iPortState
Specifies the state of the port specified by the lpszActivePort member. If lpszActivePort is NULL, iPortState is zero; otherwise, it is one of the following values:

Value

Meaning

0

All input on this port is ignored by the SerialKeys feature.

1

Input on this port is watched for SerialKeys activation sequences when no other application has the port open.

2

All input on this port is treated as SerialKeys commands.

Remarks

An application uses this structure when calling the SystemParametersInfo function with the SPI_GETSERIALKEYS or SPI_SETSERIALKEYS value. When using SPI_GETSERIALKEYS, an application must specify the cbSize, lpszActivePort, and lpszPort members of the SERIALKEYS structure; the SystemParametersInfo function fills the remaining members. An application must specify all structure members when using the SPI_SETSERIALKEYS value.

See Also

SystemParametersInfo 


file: /Techref/os/win/api/win32/struc/src/str16_25.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/12/3 06:32,
TOP NEW HELP FIND: 
3.146.206.246:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/Techref/os/win/api/win32/struc/src/str16_25.htm"> SERIALKEYS</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .