home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / SHLGUID.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  5KB  |  103 lines

  1. #pragma option -b
  2. //
  3. // For shell-reserved GUID
  4. //
  5. //  The Win95 Shell has been allocated a block of 256 GUIDs,
  6. // which follow the general format:
  7. //
  8. //  000214xx-0000-0000-C000-000000000046
  9. //
  10. //
  11. #define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_GUID(name, l, w1, w2, 0xC0,0,0,0,0,0,0,0x46)
  12.  
  13. //
  14. // Class IDs        xx=00-9F
  15. //
  16. DEFINE_SHLGUID(CLSID_ShellDesktop,      0x00021400L, 0, 0);
  17. DEFINE_SHLGUID(CLSID_ShellLink,         0x00021401L, 0, 0);
  18.  
  19. // Format IDs       xx=A0-CF
  20. DEFINE_SHLGUID(FMTID_Intshcut,          0x000214A0L, 0, 0);
  21. DEFINE_SHLGUID(FMTID_InternetSite,      0x000214A1L, 0, 0);
  22.  
  23. // command group ids xx=D0-DF
  24. DEFINE_SHLGUID(CGID_Explorer,           0x000214D0L, 0, 0);
  25. DEFINE_SHLGUID(CGID_ShellDocView,       0x000214D1L, 0, 0);
  26.  
  27. //
  28. // Interface IDs    xx=E0-FF
  29. //
  30. DEFINE_SHLGUID(IID_INewShortcutHookA,   0x000214E1L, 0, 0);
  31. DEFINE_SHLGUID(IID_IShellBrowser,       0x000214E2L, 0, 0);
  32. DEFINE_SHLGUID(IID_IShellView,          0x000214E3L, 0, 0);
  33. DEFINE_SHLGUID(IID_IContextMenu,        0x000214E4L, 0, 0);
  34. DEFINE_SHLGUID(IID_IShellIcon,          0x000214E5L, 0, 0);
  35. DEFINE_SHLGUID(IID_IShellFolder,        0x000214E6L, 0, 0);
  36. DEFINE_SHLGUID(IID_IShellExtInit,       0x000214E8L, 0, 0);
  37. DEFINE_SHLGUID(IID_IShellPropSheetExt,  0x000214E9L, 0, 0);
  38. DEFINE_SHLGUID(IID_IPersistFolder,      0x000214EAL, 0, 0);
  39. DEFINE_SHLGUID(IID_IExtractIconA,       0x000214EBL, 0, 0);
  40. DEFINE_SHLGUID(IID_IShellLinkA,         0x000214EEL, 0, 0);
  41. DEFINE_SHLGUID(IID_IShellCopyHookA,     0x000214EFL, 0, 0);
  42. DEFINE_SHLGUID(IID_IFileViewerA,        0x000214F0L, 0, 0);
  43. DEFINE_SHLGUID(IID_ICommDlgBrowser,     0x000214F1L, 0, 0);
  44. DEFINE_SHLGUID(IID_IEnumIDList,         0x000214F2L, 0, 0);
  45. DEFINE_SHLGUID(IID_IFileViewerSite,     0x000214F3L, 0, 0);
  46. DEFINE_SHLGUID(IID_IContextMenu2,       0x000214F4L, 0, 0);
  47. DEFINE_SHLGUID(IID_IShellExecuteHookA,  0x000214F5L, 0, 0);
  48. DEFINE_SHLGUID(IID_IPropSheetPage,      0x000214F6L, 0, 0);
  49. DEFINE_SHLGUID(IID_INewShortcutHookW,   0x000214F7L, 0, 0);
  50. DEFINE_SHLGUID(IID_IFileViewerW,        0x000214F8L, 0, 0);
  51. DEFINE_SHLGUID(IID_IShellLinkW,         0x000214F9L, 0, 0);
  52. DEFINE_SHLGUID(IID_IExtractIconW,       0x000214FAL, 0, 0);
  53. DEFINE_SHLGUID(IID_IShellExecuteHookW,  0x000214FBL, 0, 0);
  54. DEFINE_SHLGUID(IID_IShellCopyHookW,     0x000214FCL, 0, 0);
  55.  
  56. DEFINE_GUID(IID_IShellView2, 0x88E39E80L, 0x3578, 0x11CF, 0xAE, 0x69, 0x08, 0x00, 0x2B, 0x2E, 0x12, 0x62);
  57.  
  58.  
  59. #define SID_SShellBrowser IID_IShellBrowser
  60.  
  61. #ifdef UNICODE
  62. #define IID_IFileViewer         IID_IFileViewerW
  63. #define IID_IShellLink          IID_IShellLinkW
  64. #define IID_IExtractIcon        IID_IExtractIconW
  65. #define IID_IShellCopyHook      IID_IShellCopyHookW
  66. #define IID_IShellExecuteHook   IID_IShellExecuteHookW
  67. #define IID_INewShortcutHook    IID_INewShortcutHookW
  68. #else
  69. #define IID_IFileViewer         IID_IFileViewerA
  70. #define IID_IShellLink          IID_IShellLinkA
  71. #define IID_IExtractIcon        IID_IExtractIconA
  72. #define IID_IShellCopyHook      IID_IShellCopyHookA
  73. #define IID_IShellExecuteHook   IID_IShellExecuteHookA
  74. #define IID_INewShortcutHook    IID_INewShortcutHookA
  75. #endif
  76.  
  77.  
  78.  
  79. #ifndef CLSID_InternetShortcut
  80. DEFINE_GUID(CLSID_InternetShortcut,       0xFBF23B40L, 0xE3F0, 0x101B, 0x84, 0x88, 0x00, 0xAA, 0x00, 0x3E, 0x56, 0xF8);
  81. DEFINE_GUID(IID_IUniformResourceLocator,  0xFBF23B80L, 0xE3F0, 0x101B, 0x84, 0x88, 0x00, 0xAA, 0x00, 0x3E, 0x56, 0xF8);
  82. #endif
  83.  
  84. #ifndef NO_SHDOCVW_GUIDS
  85. DEFINE_GUID(LIBID_SHDocVw,0xEAB22AC0,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  86. DEFINE_GUID(IID_IShellExplorer,0xEAB22AC1,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  87. DEFINE_GUID(DIID_DShellExplorerEvents,0xEAB22AC2,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  88. DEFINE_GUID(CLSID_ShellExplorer,0xEAB22AC3,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  89. DEFINE_GUID(IID_ISHItemOC,0xEAB22AC4,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  90. DEFINE_GUID(DIID_DSHItemOCEvents,0xEAB22AC5,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  91. DEFINE_GUID(CLSID_SHItemOC,0xEAB22AC6,0x30C1,0x11CF,0xA7,0xEB,0x00,0x00,0xC0,0x5B,0xAE,0x0B);
  92. DEFINE_GUID(IID_DHyperLink,0x0002DF07,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  93. DEFINE_GUID(IID_DIExplorer,0x0002DF05,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  94. DEFINE_GUID(DIID_DExplorerEvents,0x0002DF06,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  95. DEFINE_GUID(CLSID_InternetExplorer,0x0002DF01,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  96. DEFINE_GUID(CLSID_StdHyperLink,0x0002DF09,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  97. #endif
  98.  
  99.  
  100.  
  101. DEFINE_GUID(CLSID_FileTypes, 0xB091E540, 0x83E3, 0x11CF, 0xA7,0x13,0x00,0x20,0xAF,0xD7,0x97,0x62);
  102. #pragma option -b.
  103.