/usr/include/wine/windows/shldisp.idl is in wine1.6-dev 1:1.6.2-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 | /*
* COM interfaces for shell objects
*
* Copyright (C) 2004 Maxime Bellengé
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "ocidl.idl";
#include <shdispid.h>
cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
cpp_quote("#undef ShellExecute")
cpp_quote("#endif")
/*****************************************************************************
* IEnumACString interface
*/
[
local,
object,
uuid(8e74c210-cf9d-4eaf-a403-7356428f0a5a),
pointer_default(unique)
]
interface IEnumACString : IEnumString
{
typedef IEnumACString *PENUMACSTRING, *LPENUMACSTRING;
typedef enum _tagACENUMOPTION
{
ACEO_NONE = 0x00000000,
ACEO_MOSTRECENTFIRST = 0x00000001,
ACEO_FIRSTUNUSED = 0x00010000,
} ACENUMOPTION;
HRESULT NextItem( [out] LPWSTR pszUrl,
[in] ULONG cchMax,
[out] ULONG *pulSortIndex);
HRESULT SetEnumOptions( [in] DWORD dwOptions );
HRESULT GetEnumOptions( [out] DWORD *pdwOptions );
}
/*****************************************************************************
* IAutoComplete interface
*/
[
local,
object,
uuid(00bb2762-6a77-11d0-a535-00c04fd7d062),
pointer_default(unique)
]
interface IAutoComplete : IUnknown
{
typedef IAutoComplete *LPAUTOCOMPLETE;
HRESULT Init( [in] HWND hwndEdit,
[in] IUnknown *punkACL,
[in] LPCOLESTR pwszRegKeyPath,
[in] LPCOLESTR pwszQuickComplete);
HRESULT Enable( [in] BOOL fEnable );
}
/*****************************************************************************
* IAutoComplete2 interface
*/
[
local,
object,
uuid(eac04bc0-3791-11d2-bb95-0060977b464c),
pointer_default(unique)
]
interface IAutoComplete2 : IAutoComplete
{
typedef IAutoComplete2 *LPAUTOCOMPLETE2;
typedef enum _tagAUTOCOMPLETEOPTIONS
{
ACO_NONE = 0x00, /* No AutoComplete */
ACO_AUTOSUGGEST = 0x01, /* enable autosuggest dropdown */
ACO_AUTOAPPEND = 0x02, /* enable autoappend */
ACO_SEARCH = 0x04, /* add search entry to completion list */
ACO_FILTERPREFIXES = 0x08, /* don't match common prefixes (www., http://, etc) */
ACO_USETAB = 0x10, /* use tab to select autosuggest entries */
ACO_UPDOWNKEYDROPSLIST = 0x20, /* up/down arrow key invokes autosuggest dropdown (if enabled) */
ACO_RTLREADING = 0x40, /* enable RTL reading order for dropdown */
} AUTOCOMPLETEOPTIONS;
HRESULT SetOptions( [in] DWORD dwFlag);
HRESULT GetOptions( [out] DWORD *pdwFlag);
}
[
uuid(50a7e9b0-70ef-11d1-b75a-00a0c90564fe),
version(1.0)
]
library Shell32
{
importlib("stdole2.tlb");
[
object,
oleautomation,
uuid(9ba05970-f6a8-11cf-a442-00a0c90a8f39),
pointer_default(unique)
]
interface IFolderViewOC : IDispatch
{
HRESULT SetFolderView( [in] IDispatch *pdisp );
}
[
uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d)
]
dispinterface DShellFolderViewEvents
{
properties:
methods:
[id(DISPID_SELECTIONCHANGED)]
void SelectionChanged();
[id(DISPID_FILELISTENUMDONE)]
void EnumDone();
[id(DISPID_VERBINVOKED)]
VARIANT_BOOL VerbInvoked();
[id(DISPID_DEFAULTVERBINVOKED)]
VARIANT_BOOL DefaultVerbInvoked();
[id(DISPID_BEGINDRAG)]
VARIANT_BOOL BeginDrag();
}
[
uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39),
hidden
]
coclass ShellFolderViewOC
{
[default] interface IFolderViewOC;
[default, source] dispinterface DShellFolderViewEvents;
}
interface FolderItem;
interface FolderItems;
interface FolderItemVerb;
interface FolderItemVerbs;
/*****************************************************************************
* Folder interface
*/
[
object,
uuid(bbcbde60-c3ff-11ce-8350-444553540000),
oleautomation,
dual
]
interface Folder : IDispatch
{
[propget, id(DISPID_VALUE)]
HRESULT Title( [out, retval] BSTR *pbs );
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
[propget]
HRESULT ParentFolder( [out, retval] Folder **ppsf );
HRESULT Items( [out, retval] FolderItems **ppid );
HRESULT ParseName( [in] BSTR bName, [out, retval] FolderItem **ppid );
HRESULT NewFolder( [in] BSTR bName, [in, optional] VARIANT vOptions );
HRESULT MoveHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions );
HRESULT CopyHere( [in] VARIANT vItem, [in, optional] VARIANT vOptions );
HRESULT GetDetailsOf( [in] VARIANT vItem,
[in] int iColumn,
[out, retval] BSTR *pbs );
}
/*****************************************************************************
* Folder2 interface
*/
[
object,
uuid(f0d2d8ef-3890-11d2-bf8b-00c04fb93661),
oleautomation,
dual
]
interface Folder2 : Folder
{
[propget]
HRESULT Self( [out, retval] FolderItem **ppfi );
[propget]
HRESULT OfflineStatus( [out, retval] LONG *pul );
HRESULT Synchronize();
[propget, id(1)]
HRESULT HaveToShowWebViewBarricade(
[out, retval] VARIANT_BOOL *pbHaveToShowWebViewBarricade );
HRESULT DismissedWebViewBarricade();
}
/*****************************************************************************
* Folder3 interface
*/
[
object,
uuid(a7ae5f64-c4d7-4d7f-9307-4d24ee54b841),
oleautomation,
dual
]
interface Folder3 : Folder2
{
[propget, id(2)]
HRESULT ShowWebViewBarricade(
[out, retval] VARIANT_BOOL *pbShowWebViewBarricade );
[propput, id(2)]
HRESULT ShowWebViewBarricade( [in] VARIANT_BOOL bShowWebViewBarricade );
}
/*****************************************************************************
* FolderItem interface
*/
[
object,
uuid(fac32c80-cbe4-11ce-8350-444553540000),
oleautomation,
dual
]
interface FolderItem : IDispatch
{
typedef FolderItem *LPFOLDERITEM;
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
[propget, id(DISPID_VALUE)]
HRESULT Name( [out, retval] BSTR *pbs );
[propput, id(DISPID_VALUE)]
HRESULT Name( [in] BSTR bs );
[propget]
HRESULT Path( [out, retval] BSTR *pbs );
[propget]
HRESULT GetLink( [out, retval] IDispatch **ppid );
[propget]
HRESULT GetFolder( [out, retval] IDispatch **ppid );
[propget]
HRESULT IsLink( [out, retval] VARIANT_BOOL *pb );
[propget]
HRESULT IsFolder( [out, retval] VARIANT_BOOL *pb );
[propget]
HRESULT IsFileSystem( [out, retval] VARIANT_BOOL *pb );
[propget]
HRESULT IsBrowsable( [out, retval] VARIANT_BOOL *pb );
[propget]
HRESULT ModifyDate( [out, retval] DATE *pdt );
[propput]
HRESULT ModifyDate( [in] DATE dt );
[propget]
HRESULT Size( [out, retval] LONG *pul );
[propget]
HRESULT Type( [out, retval] BSTR *pbs );
HRESULT Verbs( [out, retval] FolderItemVerbs **ppfic );
HRESULT InvokeVerb( [in, optional] VARIANT vVerb );
}
/*****************************************************************************
* FolderItems interface
*/
[
object,
uuid(744129e0-cbe5-11ce-8350-444553540000),
oleautomation,
dual
]
interface FolderItems : IDispatch
{
[propget]
HRESULT Count( [out, retval] long *plCount );
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
HRESULT Item( [in, optional] VARIANT index,
[out, retval] FolderItem **ppid );
[id(DISPID_NEWENUM)]
HRESULT _NewEnum( [out, retval] IUnknown **ppunk );
}
/*****************************************************************************
* FolderItemVerb interface
*/
[
object,
uuid(08ec3e00-50b0-11cf-960c-0080c7f4ee85),
oleautomation,
dual
]
interface FolderItemVerb : IDispatch
{
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
[propget, id(DISPID_VALUE)]
HRESULT Name( [out, retval] BSTR *pbs );
HRESULT DoIt();
}
/*****************************************************************************
* FolderItemVerbs interface
*/
[
object,
uuid(1f8352c0-50b0-11cf-960c-0080c7f4ee85),
oleautomation,
dual
]
interface FolderItemVerbs : IDispatch
{
[propget]
HRESULT Count( [out, retval] long *plCount );
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
HRESULT Item( [in, optional] VARIANT index,
[out, retval] FolderItemVerb **ppid );
[id(DISPID_NEWENUM)]
HRESULT _NewEnum( [out, retval] IUnknown **ppunk );
}
/*****************************************************************************
* IShellDispatch interface
*/
[
object,
uuid(d8f015c0-c278-11ce-a49e-444553540000),
oleautomation,
hidden,
dual
]
interface IShellDispatch : IDispatch
{
[propget]
HRESULT Application( [out, retval] IDispatch **ppid );
[propget]
HRESULT Parent( [out, retval] IDispatch **ppid );
HRESULT NameSpace( [in] VARIANT vDir, [out, retval] Folder **ppsdf );
HRESULT BrowseForFolder( [in] long Hwnd,
[in] BSTR Title,
[in] long Options,
[in, optional] VARIANT RootFolder,
[out, retval] Folder **ppsdf );
HRESULT Windows( [out, retval] IDispatch **ppid );
HRESULT Open( [in] VARIANT vDir );
HRESULT Explore( [in] VARIANT vDir );
HRESULT MinimizeAll();
HRESULT UndoMinimizeALL();
HRESULT FileRun();
HRESULT CascadeWindows();
HRESULT TileVertically();
HRESULT TileHorizontally();
HRESULT ShutdownWindows();
HRESULT Suspend();
HRESULT EjectPC();
HRESULT SetTime();
HRESULT TrayProperties();
HRESULT Help();
HRESULT FindFiles();
HRESULT FindComputer();
HRESULT RefreshMenu();
HRESULT ControlPanelItem( [in] BSTR szDir );
}
[
object,
uuid(a4c6892c-3ba9-11d2-9dea-00c04fb16162),
oleautomation,
hidden,
dual,
]
interface IShellDispatch2 : IShellDispatch
{
HRESULT IsRestricted([in] BSTR group, [in] BSTR restriction, [out, retval] long *value);
HRESULT ShellExecute([in] BSTR file, [in, optional] VARIANT args, [in, optional] VARIANT dir,
[in, optional] VARIANT op, [in, optional] VARIANT show);
HRESULT FindPrinter([in, optional] BSTR name, [in, optional] BSTR location, [in, optional] BSTR model);
HRESULT GetSystemInformation([in] BSTR name, [out, retval] VARIANT *ret);
HRESULT ServiceStart([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret);
HRESULT ServiceStop([in] BSTR service, [in] VARIANT persistent, [out, retval] VARIANT *ret);
HRESULT IsServiceRunning([in] BSTR service, [out, retval] VARIANT *running);
HRESULT CanStartStopService([in] BSTR service, [out, retval] VARIANT *ret);
HRESULT ShowBrowserBar([in] BSTR clsid, [in] VARIANT show, [out, retval] VARIANT *ret);
}
[
uuid(13709620-c279-11ce-a49e-444553540000)
]
coclass Shell
{
[default] interface IShellDispatch2;
}
[
uuid(0a89a860-d7b1-11ce-8350-444553540000),
hidden
]
coclass ShellDispatchInproc
{
interface IUnknown;
}
typedef
[
uuid(ca31ea20-48d0-11cf-8350-444553540000)
]
enum ShellSpecialFolderConstants {
ssfDESKTOP = 0x00,
ssfPROGRAMS = 0x02,
ssfCONTROLS = 0x03,
ssfPRINTERS = 0x04,
ssfPERSONAL = 0x05,
ssfFAVORITES = 0x06,
ssfSTARTUP = 0x07,
ssfRECENT = 0x08,
ssfSENDTO = 0x09,
ssfBITBUCKET = 0x0a,
ssfSTARTMENU = 0x0b,
ssfDESKTOPDIRECTORY = 0x10,
ssfDRIVES = 0x11,
ssfNETWORK = 0x12,
ssfNETHOOD = 0x13,
ssfFONTS = 0x14,
ssfTEMPLATES = 0x15,
ssfCOMMONSTARTMENU = 0x16,
ssfCOMMONPROGRAMS = 0x17,
ssfCOMMONSTARTUP = 0x18,
ssfCOMMONDESKTOPDIR = 0x19,
ssfAPPDATA = 0x1a,
ssfPRINTHOOD = 0x1b,
ssfLOCALAPPDATA = 0x1c,
ssfALTSTARTUP = 0x1d,
ssfCOMMONALTSTARTUP = 0x1e,
ssfCOMMONFAVORITES = 0x1f,
ssfINTERNETCACHE = 0x20,
ssfCOOKIES = 0x21,
ssfHISTORY = 0x22,
ssfCOMMONAPPDATA = 0x23,
ssfWINDOWS = 0x24,
ssfSYSTEM = 0x25,
ssfPROGRAMFILES = 0x26,
ssfMYPICTURES = 0x27,
ssfPROFILE = 0x28,
ssfSYSTEMx86 = 0x29,
ssfPROGRAMFILESx86 = 0x30
} ShellSpecialFolderConstants;
} /* library Shell32 */
/*****************************************************************************
* IAsyncOperation interface
*/
[
uuid(3d8b0590-f691-11d2-8ea9-006097df5bd4),
object,
]
interface IAsyncOperation : IUnknown
{
typedef [unique] IAsyncOperation *LPASYNCOPERATION;
HRESULT SetAsyncMode([in] BOOL fDoOpAsync);
HRESULT GetAsyncMode([out] BOOL *pfIsOpAsync);
HRESULT StartOperation([in, unique, optional] IBindCtx *pbcReserved);
HRESULT InOperation([out] BOOL *pfInAsyncOp);
HRESULT EndOperation(
[in] HRESULT hResult,
[in, unique] IBindCtx *pbcReserved,
[in] DWORD dwEffects);
}
|