Partager via


How to Migrate a Keyboard Driver Without Conforming to the Layout Manager Interface

If you have a keyboard driver from Windows CE .NET 4.1 or earlier, you can migrate the driver to Windows CE .NET 4.2. Windows CE .NET 4.2 supports the previous interface between the Graphics, Windowing, and Events Subsystem (GWES) and the keyboard driver. By copying files from your previous platform to your current platform, and then editing the build files for your keyboard driver, you can build your Windows CE .NET 4.1–based keyboard driver under Windows CE .NET 4.2.

To migrate your keyboard driver so it conforms to the Layout Manager Interface, see How to Migrate a Keyboard Driver to Conform to the Layout Manager Interface.

Hardware and Software Assumptions

  • You are familiar with building Platform Builder projects from the command line. For more information, see Build Tool.
  • You are familiar with editing dirs files. For more information, see Dirs File.
  • You are familiar with editing sources files. For more information, see Sources File.

To track your progress in the following table, select the check box next to each step.

  Step Topic
1. Migrate the keyboard platform dependent driver (PDD). Migrating the Keyboard PDD Without Conforming to the Layout Manager Interface
2. From the PDD directory, build the Windows CE .NET 4.2 keyboard driver PDD.

The PDD is hardware-specific code and is located in a subdirectory of the platform keyboard driver directory. For example, the Emulator keyboard driver PDD is in %_WINCEROOT%\Platform\Emulator\Drivers\Kbdmouse\Emulkbms.

Verify that your PDD builds correctly. You should receive no build errors.

Build Tool
3. Migrate the keyboard dynamic-link library (DLL). Migrating the Keyboard DLL Without Conforming to the Layout Manager Interface
4. From the platform keyboard driver directory, build the keyboard driver DLLs.
  • For the Emulator, run Build.exe from %_WINCEROOT%\Platform\Emulator\Drivers\Kbdmouse.

If you have no build errors, you have successfully migrated the keyboard driver DLL.

Build Tool

See Also

Migration How-to Topics | How to Migrate a Keyboard Driver to Conform to the Layout Manager Interface | Build Tool | Dirs File | Keyboard Drivers | Sources File

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.