Using Win32 functions in Visual FoxPro Image Gallery
File System
..msdn
DeleteVolumeMountPoint
FindFirstVolume
FindFirstVolumeMountPoint
FindNextVolume
FindNextVolumeMountPoint
FindVolumeClose
FindVolumeMountPointClose
GetCompressedFileSize
GetDiskFreeSpace
GetDiskFreeSpaceEx
GetFileSize
GetFileSizeEx
GetLogicalDrives
GetLogicalDriveStrings
GetVolumeInformation
GetVolumeNameForVolumeMountPoint
GetVolumePathNamesForVolumeName
SetVolumeLabel
SetVolumeMountPoint
Code examples:
Using GetCompressedFileSize (WinNT only)
GetCompressedFileSize
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression/sparse files, and the file is compressed, the value obtained is the compressed/sparse size of the specified file
Code examples:
Using GetCompressedFileSize (WinNT only)
Declaration:
DWORD GetCompressedFileSize(
  LPCTSTR lpFileName,     // file name
  LPDWORD lpFileSizeHigh  // high-order DWORD of file size
);
FoxPro declaration:
DECLARE INTEGER GetCompressedFileSize IN kernel32;
    STRING    lpFileName,;
    INTEGER @ lpFileSizeHigh
Parameters:
lpFileName
[in] Pointer to a null-terminated string that specifies the name of the file.

lpFileSizeHigh
[out] Pointer to a variable that receives the high-order DWORD of the compressed file size.
Return value:
If the function succeeds, the return value is the low-order DWORD of the actual number of bytes of disk storage used to store the specified file.
My comment:
Windows NT/2000/XP: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Unsupported.
Word Index links for the GetCompressedFileSize :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-11-14 18:19:25
Modified: 2001-11-26 16:03:59
Visited in last 7 days: 31
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.227.127.109)
19 sec.Function: 'ImageList_GetImageCount'
38 sec.Function: 'CommDlgExtendedError'
1 min.Function: 'WNetAddConnection2'
1.32 min.Function: 'CertCloseStore'
1.65 min.Function: 'DrawAnimatedRects'
1.93 min.Function: 'SQLTables'
2.27 min.Function: 'waveInAddBuffer'
2.57 min.Function: 'MQDeleteQueue'
2.92 min.Function: 'GetRgnBox'
3.23 min.
Function group: 'Service'
Google
Advertise here!