Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtain Hard Drive Serial Number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00475301
Message ID:
00488922
Vues:
27
>>These functions don't deal with the hardware/firmware. From the Platform SDK: Win32 API:
>>
>>Int 21h Function 440Dh Minor Code 46h (FAT32)
>>Sets the volume label, serial number, and file system for the specified drive.

>
>It doesn't look like there is an easy way to do that. AAMOF, I don't even get a serial number if I try to check the number of a network drive, maybe I am just doing it wrong.

I don't think you're doing anything wrong. If I had to guess, I'd say you're using Win9x. From the Platform SDK again:

lpVolumeSerialNumber
[out] Pointer to a variable that receives the volume serial number. This parameter can be NULL if the serial number is not required.

Windows 95/98: If the queried volume is a network drive, the serial number will not be returned.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform