Re: Adding devices to registry with the help of hal

2008-02-20 Thread Juan Lang
Hi Christian, +/* [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_13fe&Pid_1a00\ */ +sprintf(reg_key, "%s%04x&Pid_%04x", usb_key, pid, vid); I think you mix up pid and vid here. I don't think you shouldn't create the registry keys directly. You should be using the Set

Adding devices to registry with the help of hal

2008-02-20 Thread Christian Gmeiner
Hi all, I want you to present my current proof-of-conecpt. It shows how we can use hal.c of explorer to create registry keys for devices. Keep in mind that it only creates one registry key for each usb device at the moment. Before I investigate more time in this, I want to get some feedback about

Adding devices to registry with the help of hal

2008-02-20 Thread Christian Gmeiner
Hi all, I want you to present my current proof-of-conecpt. It shows how we can use hal.c of explorer to create registry keys for devices. Keep in mind that it only creates one registry key for each usb device at the moment. Before I investigate more time in this, I want to get some feedback about