CONFIGMG_Load_DLVxDs
CONFIGRET CONFIGMG_Load_DLVxDs(DEVNODE dnDevNode, PFARCHAR FileNames, LOAD_TYPE LoadType, ULONG ulFlags)
Loads dynamically loadable VxDs for a devnode.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_DEVNODE, CR_INVALID_FLAG, CR_INVALID_LOAD_TYPE, CR_INVALID_POINTER, CR_FAILURE, CR_OUT_OF_MEMORY, CR_NOT_SYSTEM_VM or CR_DLVXD_NOT_FOUND.
- dnDevNode
- Device node for which a device driver or enumerator should be loaded.
- FileNames
- Filenames for the dynamically loadable VxD. Note that the .386 extension is required. If no path is specified, the function searches for the files the same way OpenFile does. The files can be space or comma delimited.
- LoadType
- Type of the VxD being loaded. This parameter can be one of the following values.
DLVXD_LOAD_DEVLOADER |
Load as a device loader. (This type is rarely used.) |
DLVXD_LOAD_DRIVER |
Load as a device driver. |
DLVXD_LOAD_ENUMERATOR |
Load as an enumerator. |
- ulFlags
- Must be zero.