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
02722b12
Commit
02722b12
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fusion: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e181c196
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
25 deletions
+24
-25
Makefile.in
dlls/fusion/Makefile.in
+0
-1
asmcache.c
dlls/fusion/asmcache.c
+11
-11
asmenum.c
dlls/fusion/asmenum.c
+4
-4
asmname.c
dlls/fusion/asmname.c
+8
-8
fusion.c
dlls/fusion/fusion.c
+1
-1
No files found.
dlls/fusion/Makefile.in
View file @
02722b12
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
fusion.dll
IMPORTS
=
bcrypt dbghelp shlwapi version user32
...
...
dlls/fusion/asmcache.c
View file @
02722b12
...
...
@@ -182,7 +182,7 @@ static ULONG WINAPI IAssemblyCacheImpl_AddRef(IAssemblyCache *iface)
IAssemblyCacheImpl
*
This
=
impl_from_IAssemblyCache
(
iface
);
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -192,7 +192,7 @@ static ULONG WINAPI IAssemblyCacheImpl_Release(IAssemblyCache *iface)
IAssemblyCacheImpl
*
cache
=
impl_from_IAssemblyCache
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
cache
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
cache
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
cache
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -226,7 +226,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_UninstallAssembly(IAssemblyCache *iface
ULONG
disp
;
DWORD
len
;
TRACE
(
"(%p, 0%08x, %s, %p, %p)
\n
"
,
iface
,
dwFlags
,
TRACE
(
"(%p, 0%08
l
x, %s, %p, %p)
\n
"
,
iface
,
dwFlags
,
debugstr_w
(
pszAssemblyName
),
pRefData
,
pulDisposition
);
if
(
pRefData
)
...
...
@@ -305,7 +305,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_QueryAssemblyInfo(IAssemblyCache *iface
IAssemblyEnum
*
asmenum
=
NULL
;
HRESULT
hr
;
TRACE
(
"(%p, %d, %s, %p)
\n
"
,
iface
,
dwFlags
,
TRACE
(
"(%p, %
l
d, %s, %p)
\n
"
,
iface
,
dwFlags
,
debugstr_w
(
pszAssemblyName
),
pAsmInfo
);
if
(
pAsmInfo
)
...
...
@@ -364,7 +364,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_CreateAssemblyCacheItem(IAssemblyCache
{
IAssemblyCacheItemImpl
*
item
;
FIXME
(
"(%p, %d, %p, %p, %s) semi-stub!
\n
"
,
iface
,
dwFlags
,
pvReserved
,
FIXME
(
"(%p, %
l
d, %p, %p, %s) semi-stub!
\n
"
,
iface
,
dwFlags
,
pvReserved
,
ppAsmItem
,
debugstr_w
(
pszAssemblyName
));
if
(
!
ppAsmItem
)
...
...
@@ -435,7 +435,7 @@ static HRESULT WINAPI IAssemblyCacheImpl_InstallAssembly(IAssemblyCache *iface,
DWORD
i
,
count
=
0
,
src_len
,
dst_len
=
ARRAY_SIZE
(
format_v40
);
HRESULT
hr
;
TRACE
(
"(%p, %d, %s, %p)
\n
"
,
iface
,
dwFlags
,
TRACE
(
"(%p, %
l
d, %s, %p)
\n
"
,
iface
,
dwFlags
,
debugstr_w
(
pszManifestFilePath
),
pRefData
);
if
(
!
pszManifestFilePath
||
!*
pszManifestFilePath
)
...
...
@@ -553,7 +553,7 @@ HRESULT WINAPI CreateAssemblyCache(IAssemblyCache **ppAsmCache, DWORD dwReserved
{
IAssemblyCacheImpl
*
cache
;
TRACE
(
"(%p, %d)
\n
"
,
ppAsmCache
,
dwReserved
);
TRACE
(
"(%p, %
l
d)
\n
"
,
ppAsmCache
,
dwReserved
);
if
(
!
ppAsmCache
)
return
E_INVALIDARG
;
...
...
@@ -607,7 +607,7 @@ static ULONG WINAPI IAssemblyCacheItemImpl_AddRef(IAssemblyCacheItem *iface)
IAssemblyCacheItemImpl
*
This
=
impl_from_IAssemblyCacheItem
(
iface
);
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -617,7 +617,7 @@ static ULONG WINAPI IAssemblyCacheItemImpl_Release(IAssemblyCacheItem *iface)
IAssemblyCacheItemImpl
*
This
=
impl_from_IAssemblyCacheItem
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
heap_free
(
This
);
...
...
@@ -633,7 +633,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_CreateStream(IAssemblyCacheItem *if
IStream
**
ppIStream
,
ULARGE_INTEGER
*
puliMaxSize
)
{
FIXME
(
"(%p, %
d, %s, %d, %
d, %p, %p) stub!
\n
"
,
iface
,
dwFlags
,
FIXME
(
"(%p, %
ld, %s, %ld, %l
d, %p, %p) stub!
\n
"
,
iface
,
dwFlags
,
debugstr_w
(
pszStreamName
),
dwFormat
,
dwFormatFlags
,
ppIStream
,
puliMaxSize
);
return
E_NOTIMPL
;
...
...
@@ -643,7 +643,7 @@ static HRESULT WINAPI IAssemblyCacheItemImpl_Commit(IAssemblyCacheItem *iface,
DWORD
dwFlags
,
ULONG
*
pulDisposition
)
{
FIXME
(
"(%p, %d, %p) stub!
\n
"
,
iface
,
dwFlags
,
pulDisposition
);
FIXME
(
"(%p, %
l
d, %p) stub!
\n
"
,
iface
,
dwFlags
,
pulDisposition
);
return
E_NOTIMPL
;
}
...
...
dlls/fusion/asmenum.c
View file @
02722b12
...
...
@@ -84,7 +84,7 @@ static ULONG WINAPI IAssemblyEnumImpl_AddRef(IAssemblyEnum *iface)
IAssemblyEnumImpl
*
This
=
impl_from_IAssemblyEnum
(
iface
);
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -95,7 +95,7 @@ static ULONG WINAPI IAssemblyEnumImpl_Release(IAssemblyEnum *iface)
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
struct
list
*
item
,
*
cursor
;
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -122,7 +122,7 @@ static HRESULT WINAPI IAssemblyEnumImpl_GetNextAssembly(IAssemblyEnum *iface,
IAssemblyEnumImpl
*
asmenum
=
impl_from_IAssemblyEnum
(
iface
);
ASMNAME
*
asmname
;
TRACE
(
"(%p, %p, %p, %d)
\n
"
,
iface
,
pvReserved
,
ppName
,
dwFlags
);
TRACE
(
"(%p, %p, %p, %
l
d)
\n
"
,
iface
,
pvReserved
,
ppName
,
dwFlags
);
if
(
!
ppName
)
return
E_INVALIDARG
;
...
...
@@ -466,7 +466,7 @@ HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum **pEnum, IUnknown *pUnkReserved,
IAssemblyEnumImpl
*
asmenum
;
HRESULT
hr
;
TRACE
(
"(%p, %p, %p, %08x, %p)
\n
"
,
pEnum
,
pUnkReserved
,
TRACE
(
"(%p, %p, %p, %08
l
x, %p)
\n
"
,
pEnum
,
pUnkReserved
,
pName
,
dwFlags
,
pvReserved
);
if
(
!
pEnum
)
...
...
dlls/fusion/asmname.c
View file @
02722b12
...
...
@@ -100,7 +100,7 @@ static ULONG WINAPI IAssemblyNameImpl_AddRef(IAssemblyName *iface)
IAssemblyNameImpl
*
This
=
impl_from_IAssemblyName
(
iface
);
ULONG
refCount
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
-
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
-
1
);
return
refCount
;
}
...
...
@@ -110,7 +110,7 @@ static ULONG WINAPI IAssemblyNameImpl_Release(IAssemblyName *iface)
IAssemblyNameImpl
*
This
=
impl_from_IAssemblyName
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(ref before = %u)
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->(ref before = %
l
u)
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -130,7 +130,7 @@ static HRESULT WINAPI IAssemblyNameImpl_SetProperty(IAssemblyName *iface,
LPVOID
pvProperty
,
DWORD
cbProperty
)
{
FIXME
(
"(%p, %
d, %p, %
d) stub!
\n
"
,
iface
,
PropertyId
,
pvProperty
,
cbProperty
);
FIXME
(
"(%p, %
ld, %p, %l
d) stub!
\n
"
,
iface
,
PropertyId
,
pvProperty
,
cbProperty
);
return
E_NOTIMPL
;
}
...
...
@@ -142,7 +142,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetProperty(IAssemblyName *iface,
IAssemblyNameImpl
*
name
=
impl_from_IAssemblyName
(
iface
);
DWORD
size
;
TRACE
(
"(%p, %d, %p, %p)
\n
"
,
iface
,
PropertyId
,
pvProperty
,
pcbProperty
);
TRACE
(
"(%p, %
l
d, %p, %p)
\n
"
,
iface
,
PropertyId
,
pvProperty
,
pcbProperty
);
size
=
*
pcbProperty
;
switch
(
PropertyId
)
...
...
@@ -268,7 +268,7 @@ static HRESULT WINAPI IAssemblyNameImpl_GetDisplayName(IAssemblyName *iface,
WCHAR
verstr
[
30
],
*
cultureval
=
NULL
;
DWORD
size
;
TRACE
(
"(%p, %p, %p, %d)
\n
"
,
iface
,
szDisplayName
,
TRACE
(
"(%p, %p, %p, %
l
d)
\n
"
,
iface
,
szDisplayName
,
pccDisplayName
,
dwDisplayFlags
);
if
(
dwDisplayFlags
==
0
)
...
...
@@ -398,7 +398,7 @@ static HRESULT WINAPI IAssemblyNameImpl_Reserved(IAssemblyName *iface,
DWORD
cbReserved
,
LPVOID
*
ppReserved
)
{
TRACE
(
"(%p, %s, %p, %p, %s, %s, %p, %d, %p)
\n
"
,
iface
,
TRACE
(
"(%p, %s, %p, %p, %s, %s, %p, %
l
d, %p)
\n
"
,
iface
,
debugstr_guid
(
refIID
),
pUnkReserved1
,
pUnkReserved2
,
debugstr_w
(
szReserved
),
wine_dbgstr_longlong
(
llReserved
),
pvReserved
,
cbReserved
,
ppReserved
);
...
...
@@ -459,7 +459,7 @@ static HRESULT WINAPI IAssemblyNameImpl_IsEqual(IAssemblyName *iface,
IAssemblyNameImpl
*
name1
=
impl_from_IAssemblyName
(
iface
);
IAssemblyNameImpl
*
name2
=
impl_from_IAssemblyName
(
pName
);
TRACE
(
"(%p, %p, 0x%08x)
\n
"
,
iface
,
pName
,
flags
);
TRACE
(
"(%p, %p, 0x%08
l
x)
\n
"
,
iface
,
pName
,
flags
);
if
(
!
pName
)
return
S_FALSE
;
if
(
flags
&
~
ASM_CMPF_IL_ALL
)
FIXME
(
"unsupported flags
\n
"
);
...
...
@@ -798,7 +798,7 @@ HRESULT WINAPI CreateAssemblyNameObject(IAssemblyName **ppAssemblyNameObj,
IAssemblyNameImpl
*
name
;
HRESULT
hr
;
TRACE
(
"(%p, %s, %08x, %p)
\n
"
,
ppAssemblyNameObj
,
TRACE
(
"(%p, %s, %08
l
x, %p)
\n
"
,
ppAssemblyNameObj
,
debugstr_w
(
szAssemblyName
),
dwFlags
,
pvReserved
);
if
(
!
ppAssemblyNameObj
)
...
...
dlls/fusion/fusion.c
View file @
02722b12
...
...
@@ -66,7 +66,7 @@ HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum **ppRefEnum,
IAssemblyName
*
pName
,
DWORD
dwFlags
,
LPVOID
pvReserved
)
{
FIXME
(
"(%p, %p, %08x, %p) stub!
\n
"
,
ppRefEnum
,
pName
,
dwFlags
,
pvReserved
);
FIXME
(
"(%p, %p, %08
l
x, %p) stub!
\n
"
,
ppRefEnum
,
pName
,
dwFlags
,
pvReserved
);
return
E_NOTIMPL
;
}
...
...
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