EventCheckKeyInfo_t

Contains information about an EVENT_GET_KEY_INFORMATION event.

Service:NetWare Platform

Structure

  #include <event.h>
  
  typedef struct
  {
     uint32_t   structVersion;
     uint32_t   keyData;
     scr_t      scrID;
  } EventCheckKeyInfo_t;
  

Fields

structVersion

Indicates whether the callback function has modified the structure with one of the following values:

  • EGKStructVersion (0x00000001)—Indicates that the keyData value has not been modified.
  • EGKStructModified (0x00000011)—Indicates that the callback function modified the keyData field.
keyData

Specifies the information about the key that was pressed.

scrID

Specifies the screen that accepted the key stroke.

Remarks

The registered callback is passed a pointer to the EventCheckKeyInfo_t structure. If the callback changes the value of the structVersion field from 0x01 to 0x11, the operating system uses the value stored in the keyData field as the value placed in the keyboard input buffer.