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
a01b18fa
Commit
a01b18fa
authored
Feb 19, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: Assembly version numbers are WORDs.
parent
da1f834e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
asmname.c
dlls/fusion/asmname.c
+5
-5
No files found.
dlls/fusion/asmname.c
View file @
a01b18fa
...
...
@@ -44,7 +44,7 @@ typedef struct {
LPWSTR
name
;
LPWSTR
culture
;
BYTE
version
[
4
];
WORD
version
[
4
];
DWORD
versize
;
BYTE
pubkey
[
8
];
...
...
@@ -144,28 +144,28 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface,
case
ASM_NAME_MAJOR_VERSION
:
*
pcbProperty
=
0
;
*
((
LPDWORD
)
pvProperty
)
=
name
->
version
[
0
];
*
((
WORD
*
)
pvProperty
)
=
name
->
version
[
0
];
if
(
name
->
versize
>=
1
)
*
pcbProperty
=
sizeof
(
WORD
);
break
;
case
ASM_NAME_MINOR_VERSION
:
*
pcbProperty
=
0
;
*
((
LPDWORD
)
pvProperty
)
=
name
->
version
[
1
];
*
((
WORD
*
)
pvProperty
)
=
name
->
version
[
1
];
if
(
name
->
versize
>=
2
)
*
pcbProperty
=
sizeof
(
WORD
);
break
;
case
ASM_NAME_BUILD_NUMBER
:
*
pcbProperty
=
0
;
*
((
LPDWORD
)
pvProperty
)
=
name
->
version
[
2
];
*
((
WORD
*
)
pvProperty
)
=
name
->
version
[
2
];
if
(
name
->
versize
>=
3
)
*
pcbProperty
=
sizeof
(
WORD
);
break
;
case
ASM_NAME_REVISION_NUMBER
:
*
pcbProperty
=
0
;
*
((
LPDWORD
)
pvProperty
)
=
name
->
version
[
3
];
*
((
WORD
*
)
pvProperty
)
=
name
->
version
[
3
];
if
(
name
->
versize
>=
4
)
*
pcbProperty
=
sizeof
(
WORD
);
break
;
...
...
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