Wireshark-dev: [Wireshark-dev] registry path Re: how to edit/add an entry in windows registry?

From: "Joshua (Shiwei) Zhao" <swzhao@xxxxxxxxx>
Date: Tue, 14 Jul 2009 14:55:34 -0700
I want to edit a registry related to the capture device selected.
To get the registry path of a capture device, we need to know its SubDriverKey which could be specified somewhere in windows registry.
 
When Wireshark make a list of available devices for capture preparation, we get the list from dumpcap but name, description, and ip_address are saved. Were they retrieved from registry table? Is there a way to get their corresponding driver key?
 
Many thanks,
Joshua

On Fri, Jul 10, 2009 at 10:48 AM, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
Via RegSetKeyValue?
http://msdn.microsoft.com/en-us/library/ms724921%28VS.85%29.aspx

If the registry values are specific to Wireshark, you might also want to
update packaging\nsis\wireshark.nsi to do any necessary housekeeping
when the user uninstalls Wireshark.

Joshua (Shiwei) Zhao wrote:
> Sorry I meant by programming.
> Are there any existing function calls to in Wireshark/Winpcap library to
> do this?
> If not, how could we do that programmingly?

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe