UngetKey

Sends the specified key back to the screen.

Library:LibC
Classification:NetWare OS
Service:Screen Support

Syntax

  #include <screen.h> 
   
  void UngetKey (
     scr_t      scrID,
     uint8_t    type,
     uint8_t    value,
     uint8_t    status,
     uint8_t    scancode);
  

Parameters

scrID

(IN) Specifies the screen.

type

(IN) Specifies the key type. See Section 23.2, Key Types.

value

(IN) Specifies the value of the key for normal keys. For specialized keys, contains one of the following values:

Key Type

Return Flag

Return Value

Enter Key

ENTER

0x0D

Escape Key

ESCAPE

0x1B

Backspace Key

BACKSPACE

0x08

All others

0

status

(IN) Specifies whether a modifier key is needed, for example the Shift Key. For a list of possible values, see Section 23.3, Key Status

scancode

(IN) Specifies the codes emitted by the keyboard when a key is pressed.

See Also

GetKey