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
07930100
Commit
07930100
authored
May 01, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
May 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc: Add Client_get_accRole implementaiton.
parent
f196551a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
client.c
dlls/oleacc/client.c
+22
-2
No files found.
dlls/oleacc/client.c
View file @
07930100
...
...
@@ -211,8 +211,28 @@ static HRESULT WINAPI Client_get_accRole(IAccessible *iface, VARIANT varID, VARI
static
HRESULT
WINAPI
Client_get_accState
(
IAccessible
*
iface
,
VARIANT
varID
,
VARIANT
*
pvarState
)
{
Client
*
This
=
impl_from_Client
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_variant
(
&
varID
),
pvarState
);
return
E_NOTIMPL
;
LONG
style
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_variant
(
&
varID
),
pvarState
);
if
(
convert_child_id
(
&
varID
)
!=
CHILDID_SELF
)
{
V_VT
(
pvarState
)
=
VT_EMPTY
;
return
E_INVALIDARG
;
}
V_VT
(
pvarState
)
=
VT_I4
;
V_I4
(
pvarState
)
=
0
;
style
=
GetWindowLongW
(
This
->
hwnd
,
GWL_STYLE
);
if
(
style
&
WS_DISABLED
)
V_I4
(
pvarState
)
|=
STATE_SYSTEM_UNAVAILABLE
;
else
if
(
IsWindow
(
This
->
hwnd
))
V_I4
(
pvarState
)
|=
STATE_SYSTEM_FOCUSABLE
;
if
(
GetFocus
()
==
This
->
hwnd
)
V_I4
(
pvarState
)
|=
STATE_SYSTEM_FOCUSED
;
if
(
!
(
style
&
WS_VISIBLE
))
V_I4
(
pvarState
)
|=
STATE_SYSTEM_INVISIBLE
;
return
S_OK
;
}
static
HRESULT
WINAPI
Client_get_accHelp
(
IAccessible
*
iface
,
VARIANT
varID
,
BSTR
*
pszHelp
)
...
...
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