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
4f308b2b
Commit
4f308b2b
authored
Feb 16, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netcfgx: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
29b016da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/netcfgx/Makefile.in
+0
-1
main.c
dlls/netcfgx/main.c
+1
-1
netcfg.c
dlls/netcfgx/netcfg.c
+3
-3
No files found.
dlls/netcfgx/Makefile.in
View file @
4f308b2b
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
netcfgx.dll
IMPORTS
=
uuid
...
...
dlls/netcfgx/main.c
View file @
4f308b2b
...
...
@@ -98,7 +98,7 @@ static HRESULT WINAPI netcfgcf_CreateInstance(IClassFactory *iface,LPUNKNOWN pOu
}
else
{
WARN
(
"Cannot create an instance object. 0x%08x
\n
"
,
hr
);
WARN
(
"Cannot create an instance object. 0x%08
l
x
\n
"
,
hr
);
}
return
hr
;
}
...
...
dlls/netcfgx/netcfg.c
View file @
4f308b2b
...
...
@@ -75,7 +75,7 @@ static ULONG WINAPI netcfg_AddRef(INetCfg *iface)
NetConfiguration
*
This
=
impl_from_INetCfg
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"%p ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"%p ref=%
l
u
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -85,7 +85,7 @@ static ULONG WINAPI netcfg_Release(INetCfg *iface)
NetConfiguration
*
This
=
impl_from_INetCfg
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"%p ref=%u
\n
"
,
This
,
ref
);
TRACE
(
"%p ref=%
l
u
\n
"
,
This
,
ref
);
if
(
ref
==
0
)
{
...
...
@@ -190,7 +190,7 @@ static HRESULT WINAPI netcfglock_AcquireWriteLock(INetCfgLock *iface, DWORD cmsT
LPCWSTR
pszwClientDescription
,
LPWSTR
*
ppszwClientDescription
)
{
NetConfiguration
*
This
=
impl_from_INetCfgLock
(
iface
);
FIXME
(
"%p %d %s %p
\n
"
,
This
,
cmsTimeout
,
debugstr_w
(
pszwClientDescription
),
ppszwClientDescription
);
FIXME
(
"%p %
l
d %s %p
\n
"
,
This
,
cmsTimeout
,
debugstr_w
(
pszwClientDescription
),
ppszwClientDescription
);
return
S_OK
;
}
...
...
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