Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0077d80b
Commit
0077d80b
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uiautomationcore: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
62877d4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/uiautomationcore/Makefile.in
+0
-1
uia_main.c
dlls/uiautomationcore/uia_main.c
+5
-5
No files found.
dlls/uiautomationcore/Makefile.in
View file @
0077d80b
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
uiautomationcore.dll
IMPORTLIB
=
uiautomationcore
IMPORTS
=
uuid ole32 oleaut32 user32
...
...
dlls/uiautomationcore/uia_main.c
View file @
0077d80b
...
...
@@ -52,7 +52,7 @@ static ULONG WINAPI uia_object_wrapper_AddRef(IUnknown *iface)
struct
uia_object_wrapper
*
wrapper
=
impl_uia_object_wrapper_from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
wrapper
->
refcount
);
TRACE
(
"%p, refcount %d
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
d
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -62,7 +62,7 @@ static ULONG WINAPI uia_object_wrapper_Release(IUnknown *iface)
struct
uia_object_wrapper
*
wrapper
=
impl_uia_object_wrapper_from_IUnknown
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
wrapper
->
refcount
);
TRACE
(
"%p, refcount %d
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
d
\n
"
,
iface
,
refcount
);
if
(
!
refcount
)
{
IUnknown_Release
(
wrapper
->
marshaler
);
...
...
@@ -178,7 +178,7 @@ ULONG WINAPI hwnd_host_provider_AddRef(IRawElementProviderSimple *iface)
struct
hwnd_host_provider
*
host_prov
=
impl_from_hwnd_host_provider
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
host_prov
->
refcount
);
TRACE
(
"%p, refcount %d
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
d
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -188,7 +188,7 @@ ULONG WINAPI hwnd_host_provider_Release(IRawElementProviderSimple *iface)
struct
hwnd_host_provider
*
host_prov
=
impl_from_hwnd_host_provider
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
host_prov
->
refcount
);
TRACE
(
"%p, refcount %d
\n
"
,
iface
,
refcount
);
TRACE
(
"%p, refcount %
l
d
\n
"
,
iface
,
refcount
);
if
(
!
refcount
)
heap_free
(
host_prov
);
...
...
@@ -311,7 +311,7 @@ int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid)
LRESULT
WINAPI
UiaReturnRawElementProvider
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
,
IRawElementProviderSimple
*
elprov
)
{
FIXME
(
"(%p, %
lx, %l
x, %p) stub!
\n
"
,
hwnd
,
wParam
,
lParam
,
elprov
);
FIXME
(
"(%p, %
Ix, %I
x, %p) stub!
\n
"
,
hwnd
,
wParam
,
lParam
,
elprov
);
return
0
;
}
...
...
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