Device Loader Services and Messages

A device loader loads and manages device drivers and enumerators for a given device node. Device loaders are typically used when devices are managed by various layers of device drivers. The device loader coordinates the work of the various layers and carries out general configuration tasks that apply to all device drivers. The Configuration Manager provides services that device loaders can use to carry out their tasks.

There are these services:

Service

Description

CONFIGMG_Get_DDBs

Retrieves the device descriptor blocks of dynamically loadable VxDs for a devnode.

CONFIGMG_Get_Private_DWord

Retrieves the private value a device node has in another device node.

CONFIGMG_Load_DLVxD

Loads dynamically loadable VxDs for a devnode.

CONFIGMG_Register_DevLoader

Specifies that a static VxD is ready to be a device loader.

CONFIGMG_Set_Private_DWord

Sets the private value a device node has in another device node.


A device loader registers itself by using the CONFIGMG_Register_DevLoader service. This associates the device loader with the given device node. The device loader can also load an enumerator and device driver for the given device node or any child device nodes by using the CONFIGMG_Load_DLVxD service. It can also retrieve and assign private values to device nodes by using the CONFIGMG_Get_Private_DWord and CONFIGMG_Set_Private_DWord services.

You can retrieve the device descriptor block for any dynamically loaded virtual device associated with a device node by using the CONFIGMG_Get_DDBs service.