Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getvolumeinformation() bug?
Message
De
02/08/2000 17:16:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Getvolumeinformation() bug?
Divers
Thread ID:
00400090
Message ID:
00400090
Vues:
65
When I use the function GETVOLUMEINFORMATION() of the KERNEL32.DLL, it returns an integer number on the 4th parameter that gives-me the drives serial number in integer format. Translated to hexa-decimal, this number is equal of the number displayed on a command prompt window with the command LABEL or DIR.

A strange behavior has ocurred: when I run this function on a computer that has partitions on HD (windows / linux), it returns other value on drives serial number, different that obtained on command prompt.

Someone could give-me a idea of how to obtain always the same number that the commands DIR or LABEL display?

Really thanks for any replay.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform