Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
8.5 KiB

  1. //===========================================================================
  2. //
  3. // Copyright (c) Microsoft Corporation 1995-1997
  4. //
  5. // File: shlguid.h
  6. //
  7. //===========================================================================
  8. #ifndef _SHLGUID_H_
  9. #define _SHLGUID_H_
  10. #ifndef _WIN32_IE
  11. #define _WIN32_IE 0x0400
  12. #else
  13. #if (_WIN32_IE < 0x0400) && defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0500)
  14. #error _WIN32_IE setting conflicts with _WIN32_WINNT setting
  15. #endif
  16. #endif
  17. //
  18. // For shell-reserved GUID
  19. //
  20. // The Win95 Shell has been allocated a block of 256 GUIDs,
  21. // which follow the general format:
  22. //
  23. // 000214xx-0000-0000-C000-000000000046
  24. //
  25. //
  26. #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
  27. //
  28. // Class IDs xx=00-8F
  29. //
  30. DEFINE_SHLGUID(CLSID_ShellDesktop, 0x00021400L, 0, 0);
  31. DEFINE_SHLGUID(CLSID_ShellLink, 0x00021401L, 0, 0);
  32. #if (_WIN32_IE >= 0x0400)
  33. //
  34. // CatInformation IDs xx=90-9F
  35. //
  36. DEFINE_SHLGUID(CATID_BrowsableShellExt, 0x00021490L, 0, 0);
  37. DEFINE_SHLGUID(CATID_BrowseInPlace, 0x00021491L, 0, 0);
  38. DEFINE_SHLGUID(CATID_DeskBand, 0x00021492L, 0, 0);
  39. DEFINE_SHLGUID(CATID_InfoBand, 0x00021493L, 0, 0);
  40. DEFINE_SHLGUID(CATID_CommBand, 0x00021494L, 0, 0);
  41. #endif
  42. // Format IDs xx=A0-CF
  43. DEFINE_SHLGUID(FMTID_Intshcut, 0x000214A0L, 0, 0);
  44. DEFINE_SHLGUID(FMTID_InternetSite, 0x000214A1L, 0, 0);
  45. // command group ids xx=D0-DF
  46. DEFINE_SHLGUID(CGID_Explorer, 0x000214D0L, 0, 0);
  47. DEFINE_SHLGUID(CGID_ShellDocView, 0x000214D1L, 0, 0);
  48. #if (_WIN32_IE >= 0x0400)
  49. DEFINE_SHLGUID(CGID_ShellServiceObject, 0x000214D2L, 0, 0);
  50. DEFINE_SHLGUID(CGID_ExplorerBarDoc, 0x000214D3L, 0, 0);
  51. #endif
  52. //
  53. // Interface IDs xx=E0-FF
  54. //
  55. DEFINE_SHLGUID(IID_INewShortcutHookA, 0x000214E1L, 0, 0);
  56. DEFINE_SHLGUID(IID_IShellBrowser, 0x000214E2L, 0, 0);
  57. DEFINE_SHLGUID(IID_IShellView, 0x000214E3L, 0, 0);
  58. DEFINE_SHLGUID(IID_IContextMenu, 0x000214E4L, 0, 0);
  59. DEFINE_SHLGUID(IID_IShellIcon, 0x000214E5L, 0, 0);
  60. DEFINE_SHLGUID(IID_IShellFolder, 0x000214E6L, 0, 0);
  61. DEFINE_SHLGUID(IID_IShellExtInit, 0x000214E8L, 0, 0);
  62. DEFINE_SHLGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0);
  63. DEFINE_SHLGUID(IID_IPersistFolder, 0x000214EAL, 0, 0);
  64. DEFINE_SHLGUID(IID_IExtractIconA, 0x000214EBL, 0, 0);
  65. DEFINE_SHLGUID(IID_IShellDetails, 0x000214ECL, 0, 0);
  66. DEFINE_SHLGUID(IID_IDelayedRelease, 0x000214EDL, 0, 0);
  67. DEFINE_SHLGUID(IID_IShellLinkA, 0x000214EEL, 0, 0);
  68. DEFINE_SHLGUID(IID_IShellCopyHookA, 0x000214EFL, 0, 0);
  69. DEFINE_SHLGUID(IID_IFileViewerA, 0x000214F0L, 0, 0);
  70. DEFINE_SHLGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0);
  71. DEFINE_SHLGUID(IID_IEnumIDList, 0x000214F2L, 0, 0);
  72. DEFINE_SHLGUID(IID_IFileViewerSite, 0x000214F3L, 0, 0);
  73. DEFINE_SHLGUID(IID_IContextMenu2, 0x000214F4L, 0, 0);
  74. DEFINE_SHLGUID(IID_IShellExecuteHookA, 0x000214F5L, 0, 0);
  75. DEFINE_SHLGUID(IID_IPropSheetPage, 0x000214F6L, 0, 0);
  76. DEFINE_SHLGUID(IID_INewShortcutHookW, 0x000214F7L, 0, 0);
  77. DEFINE_SHLGUID(IID_IFileViewerW, 0x000214F8L, 0, 0);
  78. DEFINE_SHLGUID(IID_IShellLinkW, 0x000214F9L, 0, 0);
  79. DEFINE_SHLGUID(IID_IExtractIconW, 0x000214FAL, 0, 0);
  80. DEFINE_SHLGUID(IID_IShellExecuteHookW, 0x000214FBL, 0, 0);
  81. DEFINE_SHLGUID(IID_IShellCopyHookW, 0x000214FCL, 0, 0);
  82. DEFINE_SHLGUID(IID_IRemoteComputerA, 0x000214FDL, 0, 0);
  83. DEFINE_SHLGUID(IID_IRemoteComputerW, 0x000214FEL, 0, 0);
  84. #if (_WIN32_IE >= 0x0400)
  85. DEFINE_SHLGUID(IID_IQueryInfo, 0x00021500L, 0, 0);
  86. #endif
  87. DEFINE_GUID(IID_IBriefcaseStg, 0x8BCE1FA1L, 0x0921, 0x101B, 0xB1, 0xFF, 0x00, 0xDD, 0x01, 0x0C, 0xCC, 0x48);
  88. DEFINE_GUID(IID_IShellView2, 0x88E39E80L, 0x3578, 0x11CF, 0xAE, 0x69, 0x08, 0x00, 0x2B, 0x2E, 0x12, 0x62);
  89. #if (_WIN32_IE >= 0x0400)
  90. DEFINE_GUID(IID_IURLSearchHook, 0xAC60F6A0L, 0x0FD9, 0x11D0, 0x99, 0xCB, 0x00, 0xC0, 0x4F, 0xD6, 0x44, 0x97);
  91. DEFINE_GUID(IID_IDelegateFolder, 0xADD8BA80L, 0x002B, 0x11D0, 0x8F, 0x0F, 0x00, 0xC0, 0x4F, 0xD7, 0xD0, 0x62);
  92. DEFINE_GUID(IID_IInputObject, 0x68284faa, 0x6a48, 0x11d0, 0x8c, 0x78, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0xb4);
  93. DEFINE_GUID(IID_IInputObjectSite, 0xf1db8392, 0x7331, 0x11d0, 0x8c, 0x99, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  94. DEFINE_GUID(IID_IDockingWindow, 0x12dd920, 0x7b26, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  95. DEFINE_GUID(IID_IDockingWindowSite, 0x2a342fc2, 0x7b26, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  96. DEFINE_GUID(IID_IDockingWindowFrame, 0x47d2657a, 0x7b27, 0x11d0, 0x8c, 0xa9, 0x0, 0xa0, 0xc9, 0x2d, 0xbf, 0xe8);
  97. DEFINE_GUID(IID_IShellIconOverlay, 0x7D688A70L, 0xC613, 0x11D0, 0x99, 0x9B, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  98. DEFINE_GUID(IID_IShellIconOverlayManager, 0x63B51F80L, 0xC868, 0x11D0, 0x99, 0x9C, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  99. DEFINE_GUID(IID_IShellIconOverlayIdentifier, 0x0C6C4200L, 0xC589, 0x11D0, 0x99, 0x9A, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  100. // {1AC3D9F0-175C-11d1-95BE-00609797EA4F}
  101. DEFINE_GUID(IID_IPersistFolder2, 0x1ac3d9f0, 0x175c, 0x11d1, 0x95, 0xbe, 0x0, 0x60, 0x97, 0x97, 0xea, 0x4f);
  102. // {63B51F81-C868-11D0-999C-00C04FD655E1}
  103. DEFINE_GUID(CLSID_CFSIconOverlayManager, 0x63B51F81L, 0xC868, 0x11D0, 0x99, 0x9C, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  104. // Shell Icon Overlay Identifiers
  105. // {7D688A77-C613-11D0-999B-00C04FD655E1}
  106. DEFINE_GUID(CLSID_OverlayIdentifier_SlowFile, 0x7D688A77L, 0xC613, 0x11D0, 0x99, 0x9B, 0x00, 0xC0, 0x4F, 0xD6, 0x55, 0xE1);
  107. // {BCFCE0A0-EC17-11d0-8D10-00A0C90F2719}
  108. DEFINE_GUID(IID_IContextMenu3, 0xbcfce0a0, 0xec17, 0x11d0, 0x8d, 0x10, 0x0, 0xa0, 0xc9, 0xf, 0x27, 0x19);
  109. /// DeskBar stuff
  110. DEFINE_GUID(IID_IDeskBand, 0xEB0FE172L, 0x1A3A, 0x11D0, 0x89, 0xB3, 0x00, 0xA0, 0xC9, 0x0A, 0x90, 0xAC);
  111. #define CGID_DeskBand IID_IDeskBand
  112. #ifdef ISHELLTOOLBAND_COMPAT
  113. DEFINE_GUID(IID_IShellToolband, 0xEB0FE171L, 0x1A3A, 0x11D0, 0x89, 0xB3, 0x00, 0xA0, 0xC9, 0x0A, 0x90, 0xAC);
  114. #endif
  115. #endif
  116. #define SID_SShellBrowser IID_IShellBrowser
  117. #if (_WIN32_IE >= 0x0400)
  118. #define SID_SShellDesktop CLSID_ShellDesktop
  119. #endif
  120. //
  121. // IShellDiscardable is an IID-only interface. If the object supports this
  122. // interface it can be discarded anytime. IWebBrowser::PutProperty QI's for
  123. // this interface to detect discardable properties.
  124. //
  125. DEFINE_GUID(IID_IDiscardableBrowserProperty, 0x49c3de7c, 0xd329, 0x11d0, 0xab, 0x73, 0x00, 0xc0, 0x4f, 0xc3, 0x3e, 0x80);
  126. #ifdef UNICODE
  127. #define IID_IFileViewer IID_IFileViewerW
  128. #define IID_IShellLink IID_IShellLinkW
  129. #define IID_IExtractIcon IID_IExtractIconW
  130. #define IID_IShellCopyHook IID_IShellCopyHookW
  131. #define IID_IShellExecuteHook IID_IShellExecuteHookW
  132. #define IID_INewShortcutHook IID_INewShortcutHookW
  133. #else
  134. #define IID_IFileViewer IID_IFileViewerA
  135. #define IID_IShellLink IID_IShellLinkA
  136. #define IID_IExtractIcon IID_IExtractIconA
  137. #define IID_IShellCopyHook IID_IShellCopyHookA
  138. #define IID_IShellExecuteHook IID_IShellExecuteHookA
  139. #define IID_INewShortcutHook IID_INewShortcutHookA
  140. #endif
  141. #ifndef NO_INTSHCUT_GUIDS
  142. // Include internet shortcut GUIDs
  143. #include <isguids.h>
  144. #endif
  145. #ifndef NO_SHDOCVW_GUIDS
  146. #include <exdisp.h>
  147. #if (_WIN32_IE >= 0x0400)
  148. // UrlHistory Guids
  149. DEFINE_GUID(CLSID_CUrlHistory, 0x3C374A40L, 0xBAE4, 0x11CF, 0xBF, 0x7D, 0x00, 0xAA, 0x00, 0x69, 0x46, 0xEE);
  150. #define SID_SUrlHistory CLSID_CUrlHistory
  151. //UrlSearchHook Guids
  152. DEFINE_GUID(CLSID_CURLSearchHook, 0xCFBFAE00L, 0x17A6, 0x11D0, 0x99, 0xCB, 0x00, 0xC0, 0x4F, 0xD6, 0x44, 0x97);
  153. #define SID_SInternetExplorer IID_IWebBrowserApp
  154. #define SID_SWebBrowserApp IID_IWebBrowserApp
  155. //
  156. // Top-most browser implementation in the heirarchy. use IServiceProvider::QueryService()
  157. // to get to interfaces (IID_IShellBrowser, IID_IBrowserService, etc.)
  158. //
  159. DEFINE_GUID(SID_STopLevelBrowser, 0x4C96BE40L, 0x915C, 0x11CF, 0x99, 0xD3, 0x00, 0xAA, 0x00, 0x4A, 0xE8, 0x37);
  160. #endif
  161. #endif
  162. #if (_WIN32_IE >= 0x0400)
  163. // {75048700-EF1F-11D0-9888-006097DEACF9}
  164. DEFINE_GUID( CLSID_ActiveDesktop, 0x75048700L, 0xEF1F, 0x11D0, 0x98, 0x88, 0x00, 0x60, 0x97, 0xDE, 0xAC, 0xF9);
  165. // {F490EB00-1240-11D1-9888-006097DEACF9}
  166. DEFINE_GUID(IID_IActiveDesktop, 0xF490EB00L, 0x1240, 0x11D1, 0x98, 0x88, 0x00, 0x60, 0x97, 0xDE, 0xAC, 0xF9);
  167. // {56FDF344-FD6D-11d0-958A-006097C9A090}
  168. DEFINE_GUID(CLSID_TaskbarList, 0x56fdf344, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x0, 0x60, 0x97, 0xc9, 0xa0, 0x90);
  169. // {56FDF342-FD6D-11d0-958A-006097C9A090}
  170. DEFINE_GUID(IID_ITaskbarList, 0x56fdf342, 0xfd6d, 0x11d0, 0x95, 0x8a, 0x0, 0x60, 0x97, 0xc9, 0xa0, 0x90);
  171. #endif // _WIN32_IE
  172. #endif // _SHLGUID_H_