Using Win32 functions in Visual FoxPro Image Gallery
Version Information
..msdn
GetFileVersionInfo
GetFileVersionInfoSize
Code examples:
How to retrieve version information for the specified file
GetFileVersionInfoSize
    Add comment     W32 Constants      Translate this page
The GetFileVersionInfoSize function determines whether the operating system can retrieve version information for a specified file.
Code examples:
How to retrieve version information for the specified file
Declaration:
 
DWORD GetFileVersionInfoSize(
    LPTSTR lptstrFilename,
    LPDWORD lpdwHandle
);
 
FoxPro declaration:
 
DECLARE INTEGER GetFileVersionInfoSize IN version.dll;
    STRING  lptstrFilename,;
    INTEGER lpdwHandle
 
 
Parameters:
lptstrFilename
[in] Pointer to a null-terminated string that specifies the name of the file of interest.

lpdwHandle
[out] Pointer to a variable that the function sets to zero.
Return value:
If the function succeeds, the return value is the size, in bytes, of the file"s version information.
My comment:
If version information is available, GetFileVersionInfoSize returns the size, in bytes, of that information.
Word Index links for the GetFileVersionInfoSize :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-02-25 16:05:33
Modified: 2005-02-25 16:10:59
Visited in last 7 days: 20
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.22.156.205)
1.55 hrs.Example: 'Starting an external application in VFP using WinExec'
2.03 hrs.Function: 'NetUserGetLocalGroups'
Function group: 'Network Management'
 Function: 'GdipDeleteFontFamily'
4.94 hrs.Example: 'Displaying the main Dial-Up Networking dialog box'
12.21 hrs.Function: 'GetIconInfo'
 Function: 'SHFormatDrive'
14.13 hrs.Function: 'GetComputerName'
Function group: 'System Information'
 Example: 'Vertical Label control'
16.34 hrs.Example: 'Creating the Save dialog box to specify the drive, directory, and name of a file to save'
16.83 hrs.Function: 'FreeLibrary'
Google
Advertise here!