Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi USB Stick / VendorID und ProductID (https://www.delphipraxis.net/23696-usb-stick-vendorid-und-productid.html)

Kasoft 9. Jun 2004 19:17

Re: USB Stick / VendorID und ProductID
 
Das wäre nett danke Robert,
Pid und Vid hab ich auch erst durch die Registry ausgelesen. Und das ist
wirklich nicht die sauberste Art obwohl sie ja funktioniert :-)
Aber wenn ein direktes auslesen möglich wäre wäre das natürlich
Perfekt.

MfG
Kasoft

Robert Marquardt 10. Jun 2004 05:33

Re: USB Stick / VendorID und ProductID
 
Und schon ist die Antwort da. Von Walter Oney dem Treiberexperten.
Leider ist die Antwort negativ. Es geht nicht.

Zitat:

Using what kind of system call? There is no single driver that's
guaranteed to be in every device stack above the function driver and
responding to IOCTL requests. I don't think there's any way to convert
an arbitrary file handle into a SetupDiXxx info handle in order to query
the device properties. I think you are basically SOL here, which makes
sense because there's nothing about a handle that ties it to the USB
bus.

Kasoft 10. Jun 2004 14:25

Re: USB Stick / VendorID und ProductID
 
Also sind wir wieder auf dem selben Stand wie vorher und wissen
das wir nichts wissen... Schade eigentlich. Dann werd ich wohl das
ganze auf meine Weise machen müssen...

MfG
Kasoft

GoTo0815 10. Jun 2004 15:08

Re: USB Stick / VendorID und ProductID
 
Halt mich bitte auf dem laufenden.

Gruß

Hendrik


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:54 Uhr.
Seite 3 von 3     123   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz