Compartir a través de


How to Migrate a Keyboard Driver Without Conforming to the Layout Manager Interface (Windows CE 5.0)

Send Feedback

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 or later. Windows CE .NET 4.2 and later supports the legacy interface between the Graphics, Windowing, and Events Subsystem (GWES) and the keyboard driver. By copying files from your Windows CE .NET 4.1 or earlier installation to your Windows CE .NET 4.2 or later installation, and then editing the build files for your keyboard driver, you can build your Windows CE .NET 4.1 or earlier keyboard driver under Windows CE .NET 4.2 or later.

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 drivers 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 or later keyboard driver PDD.

The PDD is hardware-specific code and is located in a subdirectory of the hardware platform's 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 hardware platform's 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

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.