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
cd88a0f3
Commit
cd88a0f3
authored
Sep 27, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add definitions for the IEnumACString interface.
Enable the corresponding browseui:autocomplete tests.
parent
9fbd18cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
5 deletions
+33
-5
autocomplete.c
dlls/browseui/tests/autocomplete.c
+4
-5
shldisp.idl
include/shldisp.idl
+29
-0
No files found.
dlls/browseui/tests/autocomplete.c
View file @
cd88a0f3
...
...
@@ -23,6 +23,7 @@
#include <initguid.h>
#include <windows.h>
#include <shlobj.h>
#include <shldisp.h>
#include <shlwapi.h>
#include <shlguid.h>
...
...
@@ -127,10 +128,8 @@ static HRESULT STDMETHODCALLTYPE TestACL_QueryInterface(IEnumString *iface, REFI
return
S_OK
;
}
#if 0 /* IID_IEnumACString not defined yet in wine */
if
(
!
IsEqualGUID
(
iid
,
&
IID_IEnumACString
))
trace
(
"unknown interface queried
\n
"
);
#endif
return
E_NOINTERFACE
;
}
...
...
@@ -239,6 +238,7 @@ static void test_ACLMulti(void)
const
char
*
strings2
[]
=
{
"a"
,
"b"
,
"d"
};
WCHAR
exp
[]
=
{
'A'
,
'B'
,
'C'
,
0
};
IEnumString
*
obj
;
IEnumACString
*
unk
;
TestACL
*
acl1
,
*
acl2
;
IACList
*
acl
;
IObjMgr
*
mgr
;
...
...
@@ -252,11 +252,10 @@ static void test_ACLMulti(void)
ok
(
obj
->
lpVtbl
->
QueryInterface
(
obj
,
&
IID_IACList2
,
&
tmp
)
==
E_NOINTERFACE
,
"Unexpected interface IACList2 in ACLMulti
\n
"
);
stop_on_error
(
obj
->
lpVtbl
->
QueryInterface
(
obj
,
&
IID_IObjMgr
,
(
LPVOID
*
)
&
mgr
));
#if 0 /* IID_IEnumACString not defined yet in wine */
ole_ok(obj->lpVtbl->QueryInterface(obj, &IID_IEnumACString,
&unk));
todo_wine
ole_ok
(
obj
->
lpVtbl
->
QueryInterface
(
obj
,
&
IID_IEnumACString
,
(
LPVOID
*
)
&
unk
));
if
(
unk
!=
NULL
)
unk
->
lpVtbl
->
Release
(
unk
);
#endif
ok
(
obj
->
lpVtbl
->
Next
(
obj
,
1
,
(
LPOLESTR
*
)
&
tmp
,
&
i
)
==
S_FALSE
,
"Unexpected return from Next
\n
"
);
ok
(
i
==
0
,
"Unexpected fetched value %d
\n
"
,
i
);
...
...
include/shldisp.idl
View file @
cd88a0f3
...
...
@@ -28,6 +28,35 @@ import "comcat.idl";
#
include
<
shdispid
.
h>
/*****************************************************************************
*
IEnumACString
interface
*/
[
local
,
object
,
uuid
(
8
e74c210
-
cf9d
-
4
eaf
-
a403
-
7356428
f0a5a
),
pointer_default
(
unique
)
]
interface
IEnumACString
:
IEnumString
{
typedef
IEnumACString
*
PENUMACSTRING
,
*
LPENUMACSTRING
;
typedef
enum
_tagACENUMOPTION
{
ACEO_NONE
=
0
x00000000
,
ACEO_MOSTRECENTFIRST
=
0
x00000001
,
ACEO_FIRSTUNUSED
=
0
x00010000
,
}
ACENUMOPTION
;
HRESULT
NextItem
(
[
out
]
LPWSTR
pszUrl
,
[
in
]
ULONG
cchMax
,
[
out
]
ULONG
*
pulSortIndex
)
;
HRESULT
SetEnumOptions
(
[
in
]
DWORD
dwOptions
)
;
HRESULT
GetEnumOptions
(
[
out
]
DWORD
*
pdwOptions
)
;
}
/*****************************************************************************
*
IAutoComplete
interface
*/
[
...
...
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