Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GetTableSeg
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
int GetTableSeg(void)
 
The GetTableSeg function returns the segment address of the keyboard
driver's discardable table segment.
 
This function is intended for use within the keyboard driver only.
 
Return Value
 
The return value is the segment address of a discardable keyboard table
segment. It also copies the segment address to the driver's TableSeg
parameter.
 
Comments
 
The export ordinal for this function is 126.
 
The keyboard driver calls this function only when a language-specific
library does not exist. Windows automatically loads the discardable segment
containing the default translation tables when this function is called,
ensuring that the keyboard driver can update its translation tables using
this default data.
 
                                      ♦