VMS Help
RTL Routines, SMG$, SMG$NAME_TO_KEYCODE
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The Translate a Key Name into a Key Code routine translates the
key name of a key on the keyboard into its associated key code.
Format
SMG$NAME_TO_KEYCODE key-name ,key-code
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
key-name
OpenVMS usage:char_string
type: character string
access: read only
mechanism: by descriptor
String containing the name of the key to be translated into a
key code. The key-name argument is the address of a descriptor
pointing to the character string containing the key name. The
key-name argument is simply the name of the key (for example,
COMMA, PERIOD, KP4, and so forth).
key-code
OpenVMS usage:word_unsigned
type: word (unsigned)
access: write only
mechanism: by reference
Specifies the key code into which key-name is to be translated.
The key-code argument is the address of an unsigned word that
contains the key code.
The key code is returned by SMG$READ_COMPOSED_LINE, SMG$READ_
KEYSTROKE, SMG$READ_STRING, and SMG$READ_VERIFY in the word-
terminator-code argument.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.