next up previous contents
Next: 5.4 Developing in Visual Up: 5. Developing a Driver Previous: 5.2 Writing the Device   Contents


5.3 Developing Your Driver on Windows CE Platforms

When developing your driver on Windows CE platforms, you must first register your device to work with WinDriver. This is similar to installing an INF file for your device when developing a driver for a Plug and Play Windows operating system (i.e., Windows 98/Me/2000/XP/Server 2003/Vista). For more information regarding INF files, refer to section 15.1 for understanding the INF file.

The following registry example shows how to register your device with the PCI bus driver (can be added to your platform.reg file).

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MyCard] 
"Class"=dword:04
"SubClass"=dword:01
"ProgIF"=dword:00
"VendorID"=multi_sz:"1234","1234"
"DeviceID"=multi_sz:"1111","2222"

For more information, refer to MSDN Library, under PCI Bus Driver Registry Settings section.