Using Win32 functions in Visual FoxPro Image Gallery
Version Information
..msdn
GetFileVersionInfo
GetFileVersionInfoSize
Code examples:
How to retrieve version information for the specified file
GetFileVersionInfo
    Add comment     W32 Constants      Translate this page
Retrieves version information for the specified file.
Code examples:
How to retrieve version information for the specified file
Declaration:
BOOL GetFileVersionInfo(
    LPTSTR lptstrFilename,
    DWORD dwHandle,
    DWORD dwLen,
    LPVOID lpData
);
FoxPro declaration:
DECLARE INTEGER GetFileVersionInfo IN version.dll;
    STRING   lptstrFilename,;
    INTEGER  dwHandle,;
    INTEGER  dwLen,;
    STRING @ lpData

Parameters:
lptstrFilename
[in] Pointer to a null-terminated string that specifies the name of the file of interest.

dwHandle
This parameter is ignored.

dwLen
[in] Specifies the size, in bytes, of the buffer pointed to by the lpData parameter.

lpData
[out] Pointer to a buffer that receives the file-version information.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Call the GetFileVersionInfoSize function first to determine the size, in bytes, of a file"s version information. The dwLen member should be equal to or greater than that value.
Word Index links for the GetFileVersionInfo :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2005-02-25 16:11:08
Modified: 2005-02-25 16:13:36
Visited in last 7 days: 16
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.199.178)
10 sec.Function: 'PathFindOnPath'
21 sec.Function: 'CeRegQueryInfoKey'
33 sec.Function: 'SetPrinter'
45 sec.
Function group: 'Virtual Hard Disk (Win7)'
1.03 min.
Function group: 'Performance Monitoring'
1.23 min.Function: 'waveOutGetDevCaps'
1.42 min.Function: 'WSAGetLastError'
1.63 min.Function: 'SetMapMode'
1.85 min.Function: 'MoveWindow'
2.08 min.Function: 'GetThreadPriority'
Google
Advertise here!