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
d9190052
Commit
d9190052
authored
Sep 17, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Sep 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: autocomplete: Implement GetDropDownStatus.
parent
ba6ddf28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
5 deletions
+26
-5
autocomplete.c
dlls/shell32/autocomplete.c
+26
-5
No files found.
dlls/shell32/autocomplete.c
View file @
d9190052
...
...
@@ -361,15 +361,36 @@ static HRESULT WINAPI IAutoCompleteDropDown_fnGetDropDownStatus(
LPWSTR
*
ppwszString
)
{
IAutoCompleteImpl
*
This
=
impl_from_IAutoCompleteDropDown
(
iface
);
BOOL
dropped
;
FIXME
(
"(%p) -> (%p, %p): stub
\n
"
,
This
,
pdwFlags
,
ppwszString
);
TRACE
(
"(%p) -> (%p, %p)
\n
"
,
This
,
pdwFlags
,
ppwszString
);
dropped
=
IsWindowVisible
(
This
->
hwndListBox
);
if
(
pdwFlags
)
*
pdwFlags
=
0
;
if
(
ppwszString
)
*
ppwszString
=
NULL
;
*
pdwFlags
=
(
dropped
?
ACDD_VISIBLE
:
0
);
if
(
ppwszString
)
{
if
(
dropped
)
{
int
sel
;
sel
=
SendMessageW
(
This
->
hwndListBox
,
LB_GETCURSEL
,
0
,
0
);
if
(
sel
>=
0
)
{
DWORD
len
;
len
=
SendMessageW
(
This
->
hwndListBox
,
LB_GETTEXTLEN
,
sel
,
0
);
*
ppwszString
=
CoTaskMemAlloc
((
len
+
1
)
*
sizeof
(
WCHAR
));
SendMessageW
(
This
->
hwndListBox
,
LB_GETTEXT
,
sel
,
(
LPARAM
)
*
ppwszString
);
}
else
*
ppwszString
=
NULL
;
}
else
*
ppwszString
=
NULL
;
}
return
E_NOTIMPL
;
return
S_OK
;
}
/**************************************************************************
...
...
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