msi: Support MSIDBOPEN_CREATEDIRECT and MSIDBOPEN_DIRECT in MSI_OpenDatabaseW.
[wine] / include / shlguid.h
1 /*
2  * Copyright (C) 1999 Juergen Schmied
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 #ifndef __WINE_SHLGUID_H
20 #define __WINE_SHLGUID_H
21
22 #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_OLEGUID(name,l,w1,w2)
23
24 DEFINE_SHLGUID(CLSID_ShellDesktop,      0x00021400L, 0, 0);
25 DEFINE_SHLGUID(CLSID_ShellLink,         0x00021401L, 0, 0);
26
27 DEFINE_SHLGUID(CATID_BrowsableShellExt, 0x00021490L, 0, 0);
28 DEFINE_SHLGUID(CATID_BrowseInPlace,     0x00021491L, 0, 0);
29 DEFINE_SHLGUID(CATID_DeskBand,          0x00021492L, 0, 0);
30 DEFINE_SHLGUID(CATID_InfoBand,          0x00021493L, 0, 0);
31 DEFINE_SHLGUID(CATID_CommBand,          0x00021494L, 0, 0);
32
33 /* shell32 formatids */
34 DEFINE_SHLGUID(FMTID_Intshcut,          0x000214A0L, 0, 0);
35 DEFINE_SHLGUID(FMTID_InternetSite,      0x000214A1L, 0, 0);
36
37 /* command group ids */
38 DEFINE_SHLGUID(CGID_Explorer,           0x000214D0L, 0, 0);
39 DEFINE_SHLGUID(CGID_ShellDocView,       0x000214D1L, 0, 0);
40 DEFINE_SHLGUID(CGID_ShellServiceObject, 0x000214D2L, 0, 0);
41 DEFINE_SHLGUID(CGID_ExplorerBarDoc,     0x000214D3L, 0, 0);
42
43 DEFINE_SHLGUID(IID_IShellIcon,          0x000214E5L, 0, 0);
44 DEFINE_SHLGUID(IID_IShellPropSheetExt,  0x000214E9L, 0, 0);
45 DEFINE_SHLGUID(IID_IShellDetails,       0x000214ECL, 0, 0);
46 DEFINE_SHLGUID(IID_IDelayedRelease,     0x000214EDL, 0, 0);
47 DEFINE_SHLGUID(IID_IShellCopyHookA,     0x000214EFL, 0, 0);
48 DEFINE_SHLGUID(IID_IFileViewerA,        0x000214F0L, 0, 0);
49 DEFINE_SHLGUID(IID_IFileViewerSite,     0x000214F3L, 0, 0);
50 DEFINE_SHLGUID(IID_IPropSheetPage,      0x000214F6L, 0, 0);
51 DEFINE_SHLGUID(IID_IFileViewerW,        0x000214F8L, 0, 0);
52 DEFINE_SHLGUID(IID_IShellCopyHookW,     0x000214FCL, 0, 0);
53 DEFINE_SHLGUID(IID_IRemoteComputer,     0x000214FEL, 0, 0);
54 DEFINE_SHLGUID(IID_IQueryInfo,          0x00021500L, 0, 0);
55
56 /* avoid duplicate definitions with shobjidl.h (FIXME) */
57 /* DEFINE_SHLGUID(IID_IExtractIconA,       0x000214EBL, 0, 0); */
58 /* DEFINE_SHLGUID(IID_IExtractIconW,       0x000214FAL, 0, 0); */
59 /* DEFINE_SHLGUID(IID_IContextMenu,        0x000214E4L, 0, 0); */
60 /* DEFINE_SHLGUID(IID_IContextMenu2,       0x000214F4L, 0, 0); */
61 /* DEFINE_SHLGUID(IID_ICommDlgBrowser,     0x000214F1L, 0, 0); */
62 /* DEFINE_SHLGUID(IID_IShellBrowser,       0x000214E2L, 0, 0); */
63 /* DEFINE_SHLGUID(IID_IShellView,          0x000214E3L, 0, 0); */
64 /* DEFINE_SHLGUID(IID_IShellFolder,        0x000214E6L, 0, 0); */
65 /* DEFINE_SHLGUID(IID_IShellExtInit,       0x000214E8L, 0, 0); */
66 /* DEFINE_SHLGUID(IID_IPersistFolder,      0x000214EAL, 0, 0); */
67 /* DEFINE_SHLGUID(IID_IShellLinkA,         0x000214EEL, 0, 0); */
68 /* DEFINE_SHLGUID(IID_IEnumIDList,         0x000214F2L, 0, 0); */
69 /* DEFINE_SHLGUID(IID_IShellLinkW,         0x000214F9L, 0, 0); */
70 /* DEFINE_SHLGUID(IID_IShellExecuteHookA,  0x000214F5L, 0, 0); */
71 /* DEFINE_SHLGUID(IID_IShellExecuteHookW,  0x000214FBL, 0, 0); */
72 /* DEFINE_SHLGUID(IID_INewShortcutHookA,   0x000214E1L, 0, 0); */
73 /* DEFINE_SHLGUID(IID_INewShortcutHookW,   0x000214F7L, 0, 0); */
74
75 DEFINE_GUID(CLSID_CUrlHistory, 0x3c374a40, 0xbae4, 0x11cf, 0xbf, 0x7d, 0x00, 0xaa, 0x00, 0x69, 0x46, 0xee);
76 #define SID_SUrlHistory       CLSID_CUrlHistory
77
78 DEFINE_GUID(CLSID_CURLSearchHook, 0xcfbfae00, 0x17a6, 0x11d0, 0x99, 0xcb, 0x00, 0xc0, 0x4f, 0xd6, 0x44, 0x97);
79
80 DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37);
81
82 #define SID_SShellBrowser     IID_IShellBrowser
83
84 #define IID_IFileViewer       WINELIB_NAME_AW(IID_IFileViewer)
85 #define IID_IShellLink        WINELIB_NAME_AW(IID_IShellLink)
86 #define IID_IExtractIcon      WINELIB_NAME_AW(IID_IExtractIcon)
87 #define IID_IShellCopyHook    WINELIB_NAME_AW(IID_IShellCopyHook)
88 #define IID_IShellExecuteHook WINELIB_NAME_AW(IID_IShellExecuteHook)
89 #define IID_INewShortcutHook  WINELIB_NAME_AW(IID_INewShortcutHook)
90
91 DEFINE_GUID(IID_IDockingWindow,     0x012dd920L, 0x7B26, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
92 DEFINE_GUID(IID_IDockingWindowSite, 0x2A342FC2L, 0x7B26, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
93 DEFINE_GUID(IID_IInputObject,       0x068284FAA, 0x6A48, 0x11D0, 0x8C, 0x78, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xB4);
94 DEFINE_GUID(IID_IInputObjectSite,   0x0F1DB8392, 0x7331, 0x11D0, 0x8C, 0x99, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
95
96 /****************************************************************************
97  * the next IID's are the namespace elements of the pidls
98  */
99 DEFINE_GUID(CLSID_NetworkPlaces, 0x208D2C60, 0x3AEA, 0x1069, 0xA2, 0xD7, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D);
100 DEFINE_GUID(CLSID_NetworkDomain, 0x46e06680, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49);
101 DEFINE_GUID(CLSID_NetworkServer, 0xc0542a90, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49);
102 DEFINE_GUID(CLSID_NetworkShare, 0x54a754c0, 0x4bf0, 0x11d1, 0x83, 0xee, 0x00, 0xa0, 0xc9, 0x0d, 0xc8, 0x49);
103 DEFINE_GUID(CLSID_MyComputer, 0x20D04FE0, 0x3AEA, 0x1069, 0xA2, 0xD8, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D);
104 DEFINE_GUID(CLSID_Internet, 0x871C5380, 0x42A0, 0x1069, 0xA2, 0xEA, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D);
105 DEFINE_GUID(CLSID_ShellFSFolder, 0xF3364BA0, 0x65B9, 0x11CE, 0xA9, 0xBA, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37);
106 DEFINE_GUID(CLSID_RecycleBin, 0x645FF040, 0x5081, 0x101B, 0x9F, 0x08, 0x00, 0xAA, 0x00, 0x2F, 0x95, 0x4E);
107 DEFINE_GUID(CLSID_ControlPanel, 0x21EC2020, 0x3AEA, 0x1069, 0xA2, 0xDD, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D);
108 DEFINE_GUID(CLSID_Printers, 0x2227A280, 0x3AEA, 0x1069, 0xA2, 0xDE, 0x08, 0x00, 0x2B, 0x30, 0x30, 0x9D);
109 DEFINE_GUID(CLSID_MyDocuments, 0x450d8fba, 0xad25, 0x11d0, 0x98, 0xa8, 0x08, 0x00, 0x36, 0x1b, 0x11, 0x03);
110 DEFINE_GUID(CLSID_FolderShortcut, 0x0AFACED1, 0xE828, 0x11D1, 0x91, 0x87, 0xB5, 0x32, 0xF1, 0xE9, 0x57, 0x5D);
111
112 DEFINE_GUID(IID_IQueryAssociations, 0xc46ca590, 0x3c3f, 0x11d2, 0xbe, 0xe6, 0x00, 0x00, 0xf8, 0x05, 0xca, 0x57);
113
114 DEFINE_GUID(CLSID_DragDropHelper, 0x4657278a, 0x411b, 0x11d2, 0x83, 0x9a, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0xd0);
115
116 DEFINE_GUID(CLSID_AutoComplete, 0x00bb2763, 0x6a77, 0x11d0, 0xa5, 0x35, 0x00, 0xc0, 0x4f, 0xd7, 0xd0, 0x62);
117
118 #define PSGUID_SHELLDETAILS     {0x28636aa6, 0x953d, 0x11d2, 0xb5, 0xd6, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xd0}
119 DEFINE_GUID(FMTID_ShellDetails,  0x28636aa6, 0x953d, 0x11d2, 0xb5, 0xd6, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xd0);
120 #define PID_FINDDATA        0
121 #define PID_NETRESOURCE     1
122 #define PID_DESCRIPTIONID   2
123 #define PID_WHICHFOLDER     3
124 #define PID_NETWORKLOCATION 4
125 #define PID_COMPUTERNAME    5
126
127 /* Note: PSGUID_STORAGE defined in ntquery.h */
128 DEFINE_GUID(FMTID_Storage, 0xb725f130, 0x47ef, 0x101a, 0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac);
129 /* PID_* for FMTID_Storage defined in ntquery.h*/
130
131 #define PSGUID_DISPLACED    {0x9b174b33, 0x40ff, 0x11d2, 0xa2, 0x7e, 0x0, 0xc0, 0x4f, 0xc3, 0x8, 0x71}
132 DEFINE_GUID(FMTID_Displaced, 0x9b174b33, 0x40ff, 0x11d2, 0xa2, 0x7e, 0x0, 0xc0, 0x4f, 0xc3, 0x8, 0x71);
133 #define PID_DISPLACED_FROM 2
134 #define PID_DISPLACED_DATE 3
135
136
137 #endif /* __WINE_SHLGUID_H */