Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e3ae89e8
Commit
e3ae89e8
authored
May 21, 2015
by
Austin English
Committed by
Alexandre Julliard
May 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: Move GetFileVersionInfoSize(A/W) implemementation to GetFileVersionInfoSizeEx(A/W).
parent
8d42c76e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
24 deletions
+27
-24
version.c
dlls/version/version.c
+27
-24
No files found.
dlls/version/version.c
View file @
e3ae89e8
...
...
@@ -607,11 +607,34 @@ typedef struct
*/
DWORD
WINAPI
GetFileVersionInfoSizeW
(
LPCWSTR
filename
,
LPDWORD
handle
)
{
return
GetFileVersionInfoSizeExW
(
0
,
filename
,
handle
);
}
/***********************************************************************
* GetFileVersionInfoSizeA [VERSION.@]
*/
DWORD
WINAPI
GetFileVersionInfoSizeA
(
LPCSTR
filename
,
LPDWORD
handle
)
{
return
GetFileVersionInfoSizeExA
(
0
,
filename
,
handle
);
}
/******************************************************************************
* GetFileVersionInfoSizeExW [VERSION.@]
*/
DWORD
WINAPI
GetFileVersionInfoSizeExW
(
DWORD
flags
,
LPCWSTR
filename
,
LPDWORD
handle
)
{
DWORD
len
,
offset
,
magic
=
1
;
HFILE
lzfd
;
HMODULE
hModule
;
OFSTRUCT
ofs
;
if
(
flags
)
{
FIXME
(
"stub: %x %s %p
\n
"
,
flags
,
wine_dbgstr_w
(
filename
),
handle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
TRACE
(
"(%s,%p)
\n
"
,
debugstr_w
(
filename
),
handle
);
if
(
handle
)
*
handle
=
0
;
...
...
@@ -676,10 +699,10 @@ DWORD WINAPI GetFileVersionInfoSizeW( LPCWSTR filename, LPDWORD handle )
}
}
/***********************************************************************
* GetFileVersionInfoSize
A
[VERSION.@]
/***********************************************************************
*******
* GetFileVersionInfoSize
ExA
[VERSION.@]
*/
DWORD
WINAPI
GetFileVersionInfoSize
A
(
LPCSTR
filename
,
LPDWORD
handle
)
DWORD
WINAPI
GetFileVersionInfoSize
ExA
(
DWORD
flags
,
LPCSTR
filename
,
LPDWORD
handle
)
{
UNICODE_STRING
filenameW
;
DWORD
retval
;
...
...
@@ -691,7 +714,7 @@ DWORD WINAPI GetFileVersionInfoSizeA( LPCSTR filename, LPDWORD handle )
else
filenameW
.
Buffer
=
NULL
;
retval
=
GetFileVersionInfoSize
W
(
filenameW
.
Buffer
,
handle
);
retval
=
GetFileVersionInfoSize
ExW
(
0
,
filenameW
.
Buffer
,
handle
);
RtlFreeUnicodeString
(
&
filenameW
);
...
...
@@ -1615,26 +1638,6 @@ DWORD WINAPI VerInstallFileW(
}
/******************************************************************************
* GetFileVersionInfoSizeExA [VERSION.@]
*/
DWORD
WINAPI
GetFileVersionInfoSizeExA
(
DWORD
flags
,
LPCSTR
filename
,
LPDWORD
handle
)
{
FIXME
(
"stub: %u %s %p
\n
"
,
flags
,
wine_dbgstr_a
(
filename
),
handle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* GetFileVersionInfoSizeExW [VERSION.@]
*/
DWORD
WINAPI
GetFileVersionInfoSizeExW
(
DWORD
flags
,
LPCWSTR
filename
,
LPDWORD
handle
)
{
FIXME
(
"stub: %u %s %p
\n
"
,
flags
,
wine_dbgstr_w
(
filename
),
handle
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/******************************************************************************
* GetFileVersionInfoExA [VERSION.@]
*/
BOOL
WINAPI
GetFileVersionInfoExA
(
DWORD
flags
,
LPCSTR
filename
,
DWORD
handle
,
DWORD
len
,
LPVOID
data
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment