Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi U3 USB Stick uniqueID auslesen (https://www.delphipraxis.net/83841-u3-usb-stick-uniqueid-auslesen.html)

r_amse_s 7. Jan 2007 01:41


U3 USB Stick uniqueID auslesen
 
hat jemand das unter delphi schon versucht/geschafft ?

in C soll so funktionieren (bin aber kein freund von C :wink: ):

Delphi-Quellcode:
devInfo deviceInfo;
HRESULT res;
BYTE uniqueID[20];
res = dapiQueryDeviceInformation(hConnectedDev, &deviceInfo) ;
if (SUCCEEDED(res))
{
memcpy(uniqueID, deviceInfo.uniqueID, 20);
}

r_amse_s 7. Jan 2007 01:53

Re: U3 USB Stick uniqueID auslesen
 
Liste der Anhänge anzeigen (Anzahl: 1)
habe etwas gefunden...werde mal ausprobieren


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:19 Uhr.

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