Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetDiskFreeSpaceEx
Message
De
03/10/1999 03:04:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00272038
Message ID:
00272045
Vues:
40
Hi,
I tried the following DECLARE..... However, I copy the sample from VB code which use WITH TYPE to gather 2 32-bits Long variable and it still return the same result.... I am using Win98.


DECLARE INTEGER GetDiskFreeSpaceEx IN "kernel32.dll" STRING lpDirectoryName, INTEGER @lpFreeBytesAvailableToCaller, INTEGER @lpTotalNumberOfBytes, INTEGER @lpTotalNumberOfFreeBytes

LOCAL lnRetValue

STORE 0 TO lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes,

lpTotalNumberOfFreeBytes
lnRetValue = GetDiskFreeSpaceEx(tcDrive, @lpFreeBytesAvailableToCaller, @lpTotalNumberOfBytes, @lpTotalNumberOfFreeBytes)

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform