Transient registry entries?
m.hearn at signal.qinetiq.com
Thu Mar 27 08:27:22 CST 2003
My app reads the registry to figure out network information, in
particular it queries the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\NetworkCards\] key to discover network cards, then
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services] to figure out the
IP address of each one (this program can bind to multiple adaptors).
These entries don't exist in Wine, and clearly they should be generated
from the system configuration. There are three places that could be
a) In initial setup, ie when you install Wine
b) At Wine startup
c) On demand, ie by writing special cases into the registry access code.
Which of these is the one that should be used? Some stuff, like the IP
address, can presumably be retrieved from other API calls, but other
things, like the adaptors in the system might require new code to query
Has anybody got any tips?
Mike Hearn <m.hearn at signal.qinetiq.com>
QinetiQ - Malvern Technology Center
More information about the wine-devel