Autor Beitrag
Biarchiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Di 30.09.08 13:21 
Hallo,

Wenn man ein USB-Stick an einem USB ansteckt und das ist zB Laufwerk E,
wie kann ich dann ermitteln welcher Registry Eintrag
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\...

zu Laufwerk E passt. Ich möchte von diesem Stick dann denn
Wert SymbolicName auslesen.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mi 01.10.08 20:36 
Im Key HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices gibt's nen Eintrag \DosDevices\E: in dem Fall. Der Binärwärt enthält dekodiert einige nützliche Infos, die man dazu nutzen kann.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Biarchiv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Fr 03.10.08 14:38 
Hallo,

sorry komm nicht trauf.

Ich sehe da eine GUID. Aber welche Infos muss ich da raushollen?
Vendor oder PID VID steht da nicht trin.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 03.10.08 20:16 
Nehmen wir einfach mal mein Laufwerk X: (emuliertes CD-ROM-Laufwerk):
ausblenden Quelltext
1:
\??\SCSI#CdRom&Ven_SCSIVAX&Prod_DVD#CD-ROM&Rev_2.7a#2&82095ac&0&030#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}					


Wo finde ich Infos zu diesem Laufwerk?
Ganz einfach: Unter
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SCSI\CdRom&Ven_SCSIVAX&Prod_DVD/CD-ROM&Rev_2.7a\2&82095ac&0&030

Für die anderweitig formatierten Werte (die mit 12 Byte) kann ich leider nix sagen, wie man die ausliest (zumal da sogar nicht mal für jedes Laufwerk ein Eintrag bei mir auftaucht*).

Aber ich hoffe mal, mit dem Hinweis aus meinem Beispiel, kommst Du etwas weiter ...

*Hab zwei Partitionen mit Ext3, für die es keine Einträge in der besagten Liste gibt.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.