Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.22 KB

GetFileVersionInfoSize.md

File metadata and controls

53 lines (35 loc) · 1.22 KB

Home

Function name : GetFileVersionInfoSize

Group: Version Information - Library: version


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.


Comments:

If version information is available, GetFileVersionInfoSize returns the size, in bytes, of that information.