Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USB drive serial number
Message
From
31/07/2004 05:53:18
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00929492
Message ID:
00929850
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform