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
334b3f2b
Commit
334b3f2b
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sxs: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd575863
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
Makefile.in
dlls/sxs/Makefile.in
+0
-1
cache.c
dlls/sxs/cache.c
+11
-11
name.c
dlls/sxs/name.c
+6
-6
sxs.c
dlls/sxs/sxs.c
+1
-1
No files found.
dlls/sxs/Makefile.in
View file @
334b3f2b
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
sxs.dll
IMPORTS
=
oleaut32 ole32
IMPORTLIB
=
sxs
...
...
dlls/sxs/cache.c
View file @
334b3f2b
...
...
@@ -203,7 +203,7 @@ static HRESULT WINAPI cache_QueryAssemblyInfo(
unsigned
int
len
;
HRESULT
hr
;
TRACE
(
"%p, 0x%08x, %s, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
assembly_name
),
info
);
TRACE
(
"%p, 0x%08
l
x, %s, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
assembly_name
),
info
);
if
(
flags
||
(
info
&&
info
->
cbAssemblyInfo
!=
sizeof
(
*
info
)))
return
E_INVALIDARG
;
...
...
@@ -272,7 +272,7 @@ static HRESULT WINAPI cache_CreateAssemblyCacheItem(
IAssemblyCacheItem
**
item
,
LPCWSTR
name
)
{
FIXME
(
"%p, 0x%08x, %p, %p, %s
\n
"
,
iface
,
flags
,
reserved
,
item
,
debugstr_w
(
name
));
FIXME
(
"%p, 0x%08
l
x, %p, %p, %s
\n
"
,
iface
,
flags
,
reserved
,
item
,
debugstr_w
(
name
));
return
E_NOTIMPL
;
}
...
...
@@ -363,7 +363,7 @@ static HRESULT parse_files( IXMLDOMDocument *doc, struct assembly *assembly )
hr
=
IXMLDOMNodeList_get_length
(
list
,
&
len
);
if
(
hr
!=
S_OK
)
goto
done
;
TRACE
(
"found %d files
\n
"
,
len
);
TRACE
(
"found %
l
d files
\n
"
,
len
);
if
(
!
len
)
{
hr
=
ERROR_SXS_MANIFEST_FORMAT_ERROR
;
...
...
@@ -530,7 +530,7 @@ static HRESULT install_policy( const WCHAR *manifest, struct assembly *assembly
if
(
!
ret
)
{
HRESULT
hr
=
HRESULT_FROM_WIN32
(
GetLastError
()
);
WARN
(
"failed to copy policy manifest file 0x%08x
\n
"
,
hr
);
WARN
(
"failed to copy policy manifest file 0x%08
l
x
\n
"
,
hr
);
return
hr
;
}
return
S_OK
;
...
...
@@ -619,7 +619,7 @@ static HRESULT install_assembly( const WCHAR *manifest, struct assembly *assembl
if
(
!
ret
)
{
hr
=
HRESULT_FROM_WIN32
(
GetLastError
()
);
WARN
(
"failed to copy manifest file 0x%08x
\n
"
,
hr
);
WARN
(
"failed to copy manifest file 0x%08
l
x
\n
"
,
hr
);
return
hr
;
}
...
...
@@ -652,7 +652,7 @@ static HRESULT install_assembly( const WCHAR *manifest, struct assembly *assembl
if
(
!
ret
)
{
hr
=
HRESULT_FROM_WIN32
(
GetLastError
()
);
WARN
(
"failed to copy file 0x%08x
\n
"
,
hr
);
WARN
(
"failed to copy file 0x%08
l
x
\n
"
,
hr
);
goto
done
;
}
}
...
...
@@ -674,7 +674,7 @@ static HRESULT WINAPI cache_InstallAssembly(
IXMLDOMDocument
*
doc
=
NULL
;
struct
assembly
*
assembly
=
NULL
;
TRACE
(
"%p, 0x%08x, %s, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
path
),
ref
);
TRACE
(
"%p, 0x%08
l
x, %s, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
path
),
ref
);
cache_lock
(
cache
);
init
=
CoInitialize
(
NULL
);
...
...
@@ -724,7 +724,7 @@ static HRESULT uninstall_assembly( struct assembly *assembly )
lstrcatW
(
filename
,
backslashW
);
lstrcatW
(
filename
,
file
->
name
);
if
(
!
DeleteFileW
(
filename
))
WARN
(
"failed to delete file %u
\n
"
,
GetLastError
()
);
if
(
!
DeleteFileW
(
filename
))
WARN
(
"failed to delete file %
l
u
\n
"
,
GetLastError
()
);
HeapFree
(
GetProcessHeap
(),
0
,
filename
);
}
RemoveDirectoryW
(
dirname
);
...
...
@@ -751,7 +751,7 @@ static HRESULT WINAPI cache_UninstallAssembly(
const
WCHAR
*
arch
,
*
name
,
*
token
,
*
type
,
*
version
;
WCHAR
*
p
,
*
path
=
NULL
;
TRACE
(
"%p, 0x%08x, %s, %p, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
assembly_name
),
ref
,
disp
);
TRACE
(
"%p, 0x%08
l
x, %s, %p, %p
\n
"
,
iface
,
flags
,
debugstr_w
(
assembly_name
),
ref
,
disp
);
if
(
ref
)
{
...
...
@@ -790,7 +790,7 @@ static HRESULT WINAPI cache_UninstallAssembly(
if
((
hr
=
load_manifest
(
doc
,
path
))
!=
S_OK
)
goto
done
;
if
((
hr
=
parse_assembly
(
doc
,
&
assembly
))
!=
S_OK
)
goto
done
;
if
(
!
DeleteFileW
(
path
))
WARN
(
"unable to remove manifest file %u
\n
"
,
GetLastError
()
);
if
(
!
DeleteFileW
(
path
))
WARN
(
"unable to remove manifest file %
l
u
\n
"
,
GetLastError
()
);
else
if
((
p
=
wcsrchr
(
path
,
'\\'
)))
{
*
p
=
0
;
...
...
@@ -827,7 +827,7 @@ HRESULT WINAPI CreateAssemblyCache( IAssemblyCache **obj, DWORD reserved )
{
struct
cache
*
cache
;
TRACE
(
"%p, %u
\n
"
,
obj
,
reserved
);
TRACE
(
"%p, %
l
u
\n
"
,
obj
,
reserved
);
if
(
!
obj
)
return
E_INVALIDARG
;
...
...
dlls/sxs/name.c
View file @
334b3f2b
...
...
@@ -104,7 +104,7 @@ static HRESULT WINAPI name_SetProperty(
LPVOID
property
,
DWORD
size
)
{
FIXME
(
"%p, %
d, %p, %
d
\n
"
,
iface
,
id
,
property
,
size
);
FIXME
(
"%p, %
ld, %p, %l
d
\n
"
,
iface
,
id
,
property
,
size
);
return
E_NOTIMPL
;
}
...
...
@@ -114,7 +114,7 @@ static HRESULT WINAPI name_GetProperty(
LPVOID
buffer
,
LPDWORD
buflen
)
{
FIXME
(
"%p, %d, %p, %p
\n
"
,
iface
,
id
,
buffer
,
buflen
);
FIXME
(
"%p, %
l
d, %p, %p
\n
"
,
iface
,
id
,
buffer
,
buflen
);
return
E_NOTIMPL
;
}
...
...
@@ -135,7 +135,7 @@ static HRESULT WINAPI name_GetDisplayName(
struct
name
*
name
=
impl_from_IAssemblyName
(
iface
);
unsigned
int
len
;
TRACE
(
"%p, %p, %p, 0x%08x
\n
"
,
iface
,
buffer
,
buflen
,
flags
);
TRACE
(
"%p, %p, %p, 0x%08
l
x
\n
"
,
iface
,
buffer
,
buflen
,
flags
);
if
(
!
buflen
||
flags
)
return
E_INVALIDARG
;
...
...
@@ -169,7 +169,7 @@ static HRESULT WINAPI name_Reserved(
DWORD
cbReserved
,
LPVOID
*
ppReserved
)
{
FIXME
(
"%p, %s, %p, %p, %s, %s, %p, %d, %p
\n
"
,
iface
,
FIXME
(
"%p, %s, %p, %p, %s, %s, %p, %
l
d, %p
\n
"
,
iface
,
debugstr_guid
(
riid
),
pUnkReserved1
,
pUnkReserved2
,
debugstr_w
(
szReserved
),
wine_dbgstr_longlong
(
llReserved
),
pvReserved
,
cbReserved
,
ppReserved
);
...
...
@@ -262,7 +262,7 @@ static HRESULT WINAPI name_IsEqual(
IAssemblyName
*
name2
,
DWORD
flags
)
{
FIXME
(
"%p, %p, 0x%08x
\n
"
,
name1
,
name2
,
flags
);
FIXME
(
"%p, %p, 0x%08
l
x
\n
"
,
name1
,
name2
,
flags
);
return
E_NOTIMPL
;
}
...
...
@@ -368,7 +368,7 @@ HRESULT WINAPI CreateAssemblyNameObject(
struct
name
*
name
;
HRESULT
hr
;
TRACE
(
"%p, %s, 0x%08x, %p
\n
"
,
obj
,
debugstr_w
(
assembly
),
flags
,
reserved
);
TRACE
(
"%p, %s, 0x%08
l
x, %p
\n
"
,
obj
,
debugstr_w
(
assembly
),
flags
,
reserved
);
if
(
!
obj
)
return
E_INVALIDARG
;
...
...
dlls/sxs/sxs.c
View file @
334b3f2b
...
...
@@ -104,7 +104,7 @@ BOOL WINAPI SxsLookupClrGuid(DWORD flags, GUID *clsid, HANDLE actctx, void *buff
char
*
ret_strings
;
ULONG_PTR
cookie
;
TRACE
(
"%#
x, %s, %p, %p, %l
x, %p.
\n
"
,
flags
,
wine_dbgstr_guid
(
clsid
),
actctx
,
TRACE
(
"%#
lx, %s, %p, %p, %I
x, %p.
\n
"
,
flags
,
wine_dbgstr_guid
(
clsid
),
actctx
,
buffer
,
buffer_len
,
buffer_len_required
);
if
(
flags
&
SXS_LOOKUP_CLR_GUID_USE_ACTCTX
)
...
...
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