windowscodecs: Fix ICO palette size calculation.
[wine/hramrach.git] / include / shldisp.idl
blob07c3059221cfdba7f6f6af9549cd2ece6358abed
1 /*
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
21 import "objidl.idl";
22 import "oleidl.idl";
23 import "oaidl.idl";
24 import "shtypes.idl";
25 import "servprov.idl";
26 import "comcat.idl";
28 #include <shdispid.h>
30 /*****************************************************************************
31 * IAutoComplete interface
34 object,
35 uuid(00bb2762-6a77-11d0-a535-00c04fd7d062),
36 pointer_default(unique)
38 interface IAutoComplete : IUnknown
40 typedef IAutoComplete *LPAUTOCOMPLETE;
42 HRESULT Init( [in] HWND hwndEdit,
43 [in] IUnknown *punkACL,
44 [in] LPCOLESTR pwszRegKeyPath,
45 [in] LPCOLESTR pwszQuickComplete);
47 HRESULT Enable( [in] BOOL fEnable );
50 /*****************************************************************************
51 * IAutoComplete2 interface
54 object,
55 uuid(eac04bc0-3791-11d2-bb95-0060977b464c),
56 pointer_default(unique)
58 interface IAutoComplete2 : IAutoComplete
60 typedef IAutoComplete2 *LPAUTOCOMPLETE2;
62 typedef enum _tagAUTOCOMPLETEOPTIONS
64 ACO_NONE = 0x00, /* No AutoComplete */
65 ACO_AUTOSUGGEST = 0x01, /* enable autosuggest dropdown */
66 ACO_AUTOAPPEND = 0x02, /* enable autoappend */
67 ACO_SEARCH = 0x04, /* add search entry to completion list */
68 ACO_FILTERPREFIXES = 0x08, /* don't match common prefixes (www., http://, etc) */
69 ACO_USETAB = 0x10, /* use tab to select autosuggest entries */
70 ACO_UPDOWNKEYDROPSLIST = 0x20, /* up/down arrow key invokes autosuggest dropdown (if enabled) */
71 ACO_RTLREADING = 0x40, /* enable RTL reading order for dropdown */
72 } AUTOCOMPLETEOPTIONS;
74 HRESULT SetOptions( [in] DWORD dwFlag);
76 HRESULT GetOptions( [out] DWORD *pdwFlag);
80 object,
81 uuid(9ba05970-f6a8-11cf-a442-00a0c90a8f39),
82 pointer_default(unique)
84 interface IFolderViewOC : IDispatch
86 HRESULT SetFolderView( [in] IDispatch *pdisp );
90 uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d)
92 dispinterface DShellFolderViewEvents
94 properties:
95 methods:
96 [id(DISPID_SELECTIONCHANGED)]
97 void SelectionChanged();
99 [id(DISPID_FILELISTENUMDONE)]
100 void EnumDone();
102 [id(DISPID_VERBINVOKED)]
103 VARIANT_BOOL VerbInvoked();
105 [id(DISPID_DEFAULTVERBINVOKED)]
106 VARIANT_BOOL DefaultVerbInvoked();
108 [id(DISPID_BEGINDRAG)]
109 VARIANT_BOOL BeginDrag();
113 uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39),
114 hidden
116 coclass ShellFolderViewOC
118 [default] interface IFolderViewOC;
119 [default, source] dispinterface DShellFolderViewEvents;
122 /*****************************************************************************
123 * IAsyncOperation interface
126 uuid(3d8b0590-f691-11d2-8ea9-006097df5bd4),
127 object,
130 interface IAsyncOperation : IUnknown
132 typedef [unique] IAsyncOperation *LPASYNCOPERATION;
134 HRESULT SetAsyncMode([in] BOOL fDoOpAsync);
136 HRESULT GetAsyncMode([out] BOOL *pfIsOpAsync);
138 HRESULT StartOperation([in, unique, optional] IBindCtx *pbcReserved);
140 HRESULT InOperation([out] BOOL *pfInAsyncOp);
142 HRESULT EndOperation(
143 [in] HRESULT hResult,
144 [in, unique] IBindCtx *pbcReserved,
145 [in] DWORD dwEffects);