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
25312a10
Commit
25312a10
authored
May 15, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
May 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc: Add IOleWindow::GetWindow implementation in default client accessible object.
parent
69ab9da0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
client.c
dlls/oleacc/client.c
+5
-2
main.c
dlls/oleacc/tests/main.c
+4
-1
No files found.
dlls/oleacc/client.c
View file @
25312a10
...
...
@@ -471,8 +471,11 @@ static ULONG WINAPI Client_OleWindow_Release(IOleWindow *iface)
static
HRESULT
WINAPI
Client_OleWindow_GetWindow
(
IOleWindow
*
iface
,
HWND
*
phwnd
)
{
Client
*
This
=
impl_from_Client_OleWindow
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
phwnd
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
phwnd
);
*
phwnd
=
This
->
hwnd
;
return
S_OK
;
}
static
HRESULT
WINAPI
Client_OleWindow_ContextSensitiveHelp
(
IOleWindow
*
iface
,
BOOL
fEnterMode
)
...
...
dlls/oleacc/tests/main.c
View file @
25312a10
...
...
@@ -384,7 +384,7 @@ static void test_default_client_accessible_object(void)
IAccessible
*
acc
;
IDispatch
*
disp
;
IOleWindow
*
ow
;
HWND
chld
,
hwnd
;
HWND
chld
,
hwnd
,
hwnd2
;
HRESULT
hr
;
VARIANT
vid
,
v
;
BSTR
str
;
...
...
@@ -407,6 +407,9 @@ static void test_default_client_accessible_object(void)
hr
=
IAccessible_QueryInterface
(
acc
,
&
IID_IOleWindow
,
(
void
**
)
&
ow
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
hr
=
IOleWindow_GetWindow
(
ow
,
&
hwnd2
);
ok
(
hr
==
S_OK
,
"got %x
\n
"
,
hr
);
ok
(
hwnd
==
hwnd2
,
"hwnd2 = %p, expected %p
\n
"
,
hwnd2
,
hwnd
);
IOleWindow_Release
(
ow
);
hr
=
IAccessible_get_accChildCount
(
acc
,
&
l
);
...
...
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