Automatic Load of Drivers During the System Startup

When custom built drivers are integrated into a device OS image, it is often required that these drivers be loaded automatically at the system startup.

The process of starting the operating system is discussed in more detail in Chapter 7. The Device Manager (device.dll) is responsible for loading stream drivers at startup.

The Device Manager (device.dll) loaded at the system startup reads the value with the RootKey name in the HKEY_LOCAL_MACHINE\Drivers registry key. Next, the Device Manager, calls ActivateDeviceEx with the HKEY_LOCAL_MACHINE\<RootKey> key where <RootKey> is the RootKey value. By default, this value is \Drivers\BuiltIn.

The HKEY_LOCAL_MACHINE\<RootKey> contains the settings for ...

Get Windows® Embedded CE 6.0 Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.