Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
USB drive serial number
Message
De
31/07/2004 05:53:18
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00929492
Message ID:
00929850
Vues:
8
Hi Anatoliy,

Thanks for your code. However I think GetVolumeInformation returns the serial number created in disk formatting and will be changed in next disk format process. What I am looking for is the permanent hardware serial number which is created by the manufacturer.

KM


>
>DECLARE INTEGER GetVolumeInformation IN kernel32;
>	STRING lpRootPathName, STRING @lpVolumeNameBuffer,;
>	INTEGER nVolumeNameSize, LONG @lpVolumeSerialNumber,;
>	INTEGER @lpMaximumComponentLength, INTEGER @lpFlags,;
>	STRING @lpFileSystemNameBuffer, INTEGER nFileSystemNameSize
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/getvolumeinformation.asp
>
>http://www.news2news.com/vfp/?function=145
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform