2 * COM interfaces for shell objects
4 * Copyright (C) 2004 Maxime Bellengé
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
25 import
"servprov.idl";
28 /*****************************************************************************
29 * IAutoComplete interface
33 uuid(00bb2762
-6a77
-11d0
-a535
-00c04fd7d062
),
34 pointer_default(unique)
36 interface IAutoComplete
: IUnknown
38 typedef IAutoComplete
*LPAUTOCOMPLETE
;
40 HRESULT Init
( [in] HWND hwndEdit
,
41 [in] IUnknown
*punkACL
,
42 [in] LPCOLESTR pwszRegKeyPath
,
43 [in] LPCOLESTR pwszQuickComplete
);
45 HRESULT Enable
( [in] BOOL fEnable
);
48 /*****************************************************************************
49 * IAutoComplete2 interface
53 uuid(eac04bc0
-3791-11d2
-bb95
-0060977b464c
),
54 pointer_default(unique)
56 interface IAutoComplete2
: IAutoComplete
58 typedef IAutoComplete2
*LPAUTOCOMPLETE2
;
60 typedef enum _tagAUTOCOMPLETEOPTIONS
62 ACO_NONE
= 0x00, /* No AutoComplete */
63 ACO_AUTOSUGGEST
= 0x01, /* enable autosuggest dropdown */
64 ACO_AUTOAPPEND
= 0x02, /* enable autoappend */
65 ACO_SEARCH
= 0x04, /* add search entry to completion list */
66 ACO_FILTERPREFIXES
= 0x08, /* don't match common prefixes (www., http://, etc) */
67 ACO_USETAB
= 0x10, /* use tab to select autosuggest entries */
68 ACO_UPDOWNKEYDROPSLIST
= 0x20, /* up/down arrow key invokes autosuggest dropdown (if enabled) */
69 ACO_RTLREADING
= 0x40, /* enable RTL reading order for dropdown */
70 } AUTOCOMPLETEOPTIONS
;
72 HRESULT SetOptions
( [in] DWORD dwFlag
);
74 HRESULT GetOptions
( [out] DWORD
*pdwFlag
);
79 uuid(9ba05970
-f6a8
-11cf
-a442
-00a0c90a8f39
),
80 pointer_default(unique)
82 interface IFolderViewOC
: IDispatch
84 HRESULT SetFolderView
( [in] IDispatch
*pdisp
);
88 uuid(9ba05971
-f6a8
-11cf
-a442
-00a0c90a8f39
),
91 coclass ShellFolderViewOC
93 [default] interface IFolderViewOC
;
94 [default, source] dispinterface DShellFolderViewEvents
;