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
f72d53fc
Commit
f72d53fc
authored
Feb 10, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsquery: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
97e6f05c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/dsquery/Makefile.in
+0
-1
main.c
dlls/dsquery/main.c
+4
-4
No files found.
dlls/dsquery/Makefile.in
View file @
f72d53fc
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
dsquery.dll
IMPORTS
=
uuid
...
...
dlls/dsquery/main.c
View file @
f72d53fc
...
...
@@ -66,7 +66,7 @@ static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
struct
query_class_factory
*
This
=
impl_from_IClassFactory
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) increasing refcount to %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) increasing refcount to %
l
u
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -76,7 +76,7 @@ static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
struct
query_class_factory
*
This
=
impl_from_IClassFactory
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) decreasing refcount to %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) decreasing refcount to %
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
@@ -144,7 +144,7 @@ static ULONG WINAPI CommonQuery_AddRef(ICommonQuery *iface)
struct
common_query
*
This
=
impl_from_ICommonQuery
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) increasing refcount to %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) increasing refcount to %
l
u
\n
"
,
iface
,
ref
);
return
ref
;
}
...
...
@@ -154,7 +154,7 @@ static ULONG WINAPI CommonQuery_Release(ICommonQuery *iface)
struct
common_query
*
This
=
impl_from_ICommonQuery
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) decreasing refcount to %u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) decreasing refcount to %
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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