Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDiskFreeSpaceEx
Message
From
03/10/1999 03:04:19
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00272038
Message ID:
00272045
Views:
34
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform