Loading the Device Manager

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

HKEY_LOCAL_MACHINE\<RootKey> contains the settings for bus enumerator (BusEnum.dll). The bus enumerator driver reads all sub keys in the registry key where it’s located, and for each key it calls the ActivateDeviceEx() function. The order in which the drivers are calling ActivateDeviceEx() is determined by their Order value. The drivers with lower Order values are loaded first. Drivers without the Order ...

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.