 |
GetFileVersionInfo Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves version information for the specified file. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-02-25 16:11:08 | | Modified: | 2005-02-25 16:13:36 | Visited in last 7 days: 14 |