[DDInstall]
RegisterDlls=register-dll-section[,register-dll-section]...
A RegisterDlls directive references one or more INF sections used to specify files that are OLE controls and require self-registration.
This directive is supported on Windows 2000 and later. OLE controls and self-registration are described in Platform SDK documentation.
Each register-dll-section name must be unique to the INF file and must follow the general rules for defining section names, described in General Syntax Rules for INF Files.
Each INF section referenced by a RegisterDlls directive must have the following entry format:
[register-dll-section]
dirid, subdir, filename, registration flags[, [optional timeout][, argument]]
A register-dll-section can have any number of entries, each on a separate line.
| Value | Meaning |
|---|---|
| FLG_REGSVR_DLLREGISTER (0x00000001) |
Call the OLE control's DllRegisterServer function (described in Platform SDK documentation). |
| FLG_REGSVR_DLLINSTALL (0x00000002) |
Call the OLE control's DllInstall function (described in Platform SDK documentation). |
If the control is not an executable file, this specifies the command line argument to pass to the DllInstall function.
The following rules apply to the use of the RegisterDlls directive for device installations:
[Dialer] RegisterDlls = DialerRegSvr [DialerUninstall] UnregisterDlls = DialerRegSvr [DialerRegSvr] 11,,avtapi.dll, 1