SAMPLE: DDK Sample SETKBD Available in Software Library

Last reviewed: February 15, 1996
Article ID: Q71224
The information in this article applies to:
  • Microsoft Windows Device Driver Kit (DDK) for Windows version 3.0

SUMMARY

The README.TXT file in the KEYBOARD directory of the Microsoft Windows Device Development Kit (DDK) version 3.0 refers to the SETKBD.EXE application; however, this application is not included in the DDK distribution. This application is now available in the Software/Data Library.

Download SETKBD.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:

  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download SETKBD.EXE (size: 20949 bytes) 
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the \softlib\mslfiles directory
          Get SETKBD.EXE (size: 20949 bytes) 
    

MORE INFORMATION

The DDK\KEYBOARD\README.TXT file mentions a sample application called SETKBD.EXE. Although this application is not included on any of the DDK disks, it is now available in the Software Library.

The specification of SETKBD differs from that in the README.TXT file of the DDK because SETKBD does not change the settings of the physical keyboard. On many systems, changing the physical keyboard settings (without actually changing the physical keyboard) might hang the system. If it is necessary to physically change keyboards, the Windows Setup program handles this sufficiently.

SETKBD dynamically loads a new keyboard dynamic-link library (DLL) by altering the "keyboard.dll=" setting in the "[keyboard]" section of the SYSTEM.INI configuration file. Calling the NewTable function in the keyboard driver loads the new keyboard DLL and sets the keyboard driver to reflect this new DLL. SETKBD also obtains and displays the current settings of the physical keyboard type and subtype, but does not change them. SETKBD obtains these values by calling the GetKeyboardType function.


Additional reference words: 3.00 DDKKBD softlib SETKBD.EXE
KBCategory: kbprg kbfile
KBSubcategory: DtwoKbQuest


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 15, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.