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
81722255
Commit
81722255
authored
Apr 28, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc: Add AccessibleObjectFromWindow implementation.
parent
91f2b046
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
main.c
dlls/oleacc/main.c
+17
-2
No files found.
dlls/oleacc/main.c
View file @
81722255
...
...
@@ -217,9 +217,24 @@ HRESULT WINAPI AccessibleObjectFromPoint( POINT ptScreen, IAccessible** ppacc, V
HRESULT
WINAPI
AccessibleObjectFromWindow
(
HWND
hwnd
,
DWORD
dwObjectID
,
REFIID
riid
,
void
**
ppvObject
)
{
FIXM
E
(
"%p %d %s %p
\n
"
,
hwnd
,
dwObjectID
,
TRAC
E
(
"%p %d %s %p
\n
"
,
hwnd
,
dwObjectID
,
debugstr_guid
(
riid
),
ppvObject
);
return
E_NOTIMPL
;
if
(
!
ppvObject
)
return
E_INVALIDARG
;
*
ppvObject
=
NULL
;
if
(
IsWindow
(
hwnd
))
{
LRESULT
lres
;
lres
=
SendMessageW
(
hwnd
,
WM_GETOBJECT
,
0xffffffff
,
dwObjectID
);
if
(
FAILED
(
lres
))
return
lres
;
else
if
(
lres
)
return
ObjectFromLresult
(
lres
,
riid
,
0
,
ppvObject
);
}
return
CreateStdAccessibleObject
(
hwnd
,
dwObjectID
,
riid
,
ppvObject
);
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
...
...
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