mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
add comment
svn path=/trunk/; revision=17891
This commit is contained in:
parent
30f4eba8d2
commit
f374903282
1 changed files with 2 additions and 2 deletions
|
@ -1821,12 +1821,12 @@ static void CheckForFileInfo(struct PropertiesDialog* dlg, HWND hwnd, LPCTSTR st
|
|||
static TCHAR sTranslation[] = {'\\','V','a','r','F','i','l','e','I','n','f','o','\\','T','r','a','n','s','l','a','t','i','o','n','\0'};
|
||||
static TCHAR sStringFileInfo[] = {'\\','S','t','r','i','n','g','F','i','l','e','I','n','f','o','\\',
|
||||
'%','0','4','x','%','0','4','x','\\','%','s','\0'};
|
||||
DWORD dwVersionDataLen = GetFileVersionInfoSize((LPTSTR)strFilename, NULL);
|
||||
DWORD dwVersionDataLen = GetFileVersionInfoSize((LPTSTR)strFilename, NULL); /* VC6 and MinGW headers use LPTSTR instead of LPCTSTR */
|
||||
|
||||
if (dwVersionDataLen) {
|
||||
dlg->pVersionData = malloc(dwVersionDataLen);
|
||||
|
||||
if (GetFileVersionInfo((LPTSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) {
|
||||
if (GetFileVersionInfo((LPTSTR)strFilename, 0, dwVersionDataLen, dlg->pVersionData)) { /* VC6 and MinGW headers use LPTSTR instead of LPCTSTR */
|
||||
LPVOID pVal;
|
||||
UINT nValLen;
|
||||
|
||||
|
|
Loading…
Reference in a new issue