◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── LPSTR GetKbdTable(iType, lpKeyTrTab, lpHeader) WORD iType; LPSTR lpKeyTrTab; LPSTR lpHeader; The GetKbdTable function copies translation tables and translation-table headers into the keyboard driver. The function must be exported by each language-specific keyboard library. The keyboard driver calls the function when it first loads the language-specific library. Parameter Description ──────────────────────────────────────────────────────────────────────────── iType Specifies the keyboard type. It can be one of the following values. Value Meaning ──────────────────────────────────────────────────────────────── 1 XT, M24 83 key 2 Olivetti M24 102 key "ICO" 3 AT 84 or 86 key 4 RT Enhanced 101 or 102 key 5 Nokia 1050 6 Nokia lpKeyTrTab Points to to the KeyTrTab table in the keyboard driver. lpHeader Points to the header for the translation tables. Return Value The return value is the address of the language-specific library's DATA segment in the DX:AX register pair. Comments The export ordinal for this function is 1. The function patches the translation table and copies the data to the keyboard driver. This function is in a load-on-call discardable segment, which means its memory may be reclaimed. The DATA segment is fixed. See Also GetKeyString, NewTable ♦