[COM_APITEST]
authorThomas Faber <thomas.faber@reactos.org>
Tue, 12 Apr 2016 13:18:32 +0000 (13:18 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 12 Apr 2016 13:18:32 +0000 (13:18 +0000)
- Add some more classes, thanks to http://www.geoffchappell.com/studies/windows/ie/browseui/classes/index.htm

svn path=/trunk/; revision=71150

rostests/apitests/com/browseui.c
rostests/apitests/com/com_apitest.c
rostests/apitests/com/com_apitest.h
rostests/apitests/com/shell32.c

index a1c6aaf..9749d0f 100644 (file)
 
 static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
 {
+    {
+        ID_NAME(CLSID_ACLCustomMRU),
+        {
+            {    0x0,   &IID_IEnumString },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IACList },
+        },
+    },
+    {
+        ID_NAME(CLSID_ACLHistory),
+        {
+            {    0x0,   &IID_IEnumString },
+            {    0x0,       &IID_IUnknown },
+        },
+    },
+    {
+        ID_NAME(CLSID_ACLMRU),
+        {
+            {    0x0,   &IID_IEnumString },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IACList },
+        },
+    },
     {
         ID_NAME(CLSID_ACLMulti),
         {
@@ -95,6 +118,16 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
             {    0x0,       &IID_IUnknown },
         }
     },
+    {
+        ID_NAME(CLSID_BandSiteMenu),
+        {
+            {    0x0,   &IID_IContextMenu3 },
+            {    0x0,       &IID_IContextMenu2 },
+            {    0x0,           &IID_IContextMenu },
+            {    0x0,               &IID_IUnknown },
+            {    0x4,   &IID_IShellService },
+        }
+    },
     {
         ID_NAME(CLSID_BrandBand),
         {
@@ -113,14 +146,23 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
         }
     },
     {
-        ID_NAME(CLSID_BandSiteMenu),
+        ID_NAME(CLSID_BrowserBand),
         {
-            {    0x0,   &IID_IContextMenu3 },
-            {    0x0,       &IID_IContextMenu2 },
-            {    0x0,           &IID_IContextMenu },
-            {    0x0,               &IID_IUnknown },
-            {    0x4,   &IID_IShellService },
-        }
+            {  -0x30,   &IID_IDeskBand },
+            {  -0x30,       &IID_IDockingWindow },
+            {  -0x30,           &IID_IOleWindow },
+            {  -0x2c,   &IID_IObjectWithSite },
+            {  -0x24,   &IID_IInputObject },
+            {  -0x20,   &IID_IPersistStream },
+            {  -0x20,       &IID_IPersist },
+            {  -0x1c,   &IID_IOleCommandTarget },
+            {  -0x18,   &IID_IServiceProvider },
+            {    0x0,   &IID_IContextMenu },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IWinEventHandler },
+            {    0x8,   &IID_IDispatch },
+            {   0x10,   &IID_IPersistPropertyBag },
+        },
     },
     {
         ID_NAME(CLSID_CCommonBrowser),
@@ -140,6 +182,13 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
             {   0x2c,   &IID_IShellBrowserService },
         }
     },
+    {
+        ID_NAME(CLSID_CDockingBarPropertyBag),
+        {
+            {    0x0,   &IID_IPropertyBag },
+            {    0x0,       &IID_IUnknown },
+        },
+    },
     {
         ID_NAME(CLSID_CRegTreeOptions),
         {
@@ -148,6 +197,25 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
             {    0x4,   &IID_IObjectWithSite },
         }
     },
+    {
+        ID_NAME(CLSID_CommBand),
+        {
+            {  -0x30,   &IID_IDeskBand },
+            {  -0x30,       &IID_IDockingWindow },
+            {  -0x30,           &IID_IOleWindow },
+            {  -0x2c,   &IID_IObjectWithSite },
+            {  -0x24,   &IID_IInputObject },
+            {  -0x20,   &IID_IPersistStream },
+            {  -0x20,       &IID_IPersist },
+            {  -0x1c,   &IID_IOleCommandTarget },
+            {  -0x18,   &IID_IServiceProvider },
+            {    0x0,   &IID_IContextMenu },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IWinEventHandler },
+            {    0x8,   &IID_IDispatch },
+            {   0x10,   &IID_IPersistPropertyBag },
+        },
+    },
     {
         ID_NAME(CLSID_DeskBar),
         {
@@ -195,6 +263,23 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
         },
         L"Both"
     },
+    {
+        ID_NAME(CLSID_ImageListCache),
+        {
+            {    0x0,   &IID_IUnknown },
+        },
+        L"Both"
+    },
+    {
+        ID_NAME(CLSID_ImgCtxThumbnailExtractor),
+        {
+            {    0x0,   &IID_IExtractImage2 },
+            {    0x0,       &IID_IExtractImage },
+            {    0x0,           &IID_IUnknown },
+            {    0x8,   &IID_IPersistFile },
+        },
+        L"Both"
+    },
     {
         ID_NAME(CLSID_InternetToolbar),
         {
@@ -298,6 +383,28 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
             {    0x4,   &IID_IObjectWithSite },
         }
     },
+    {
+        ID_NAME(CLSID_ShellTaskScheduler),
+        {
+            {    0x0,   &IID_IShellTaskScheduler },
+            {    0x0,       &IID_IUnknown },
+        },
+    },
+    {
+        ID_NAME(CLSID_UserAssist),
+        {
+            {    0x0,   &IID_IUnknown },
+        },
+        L"Both"
+    },
+    {
+        ID_NAME(CLSID_WebSearchExt),
+        {
+            {    0x0,   &IID_IContextMenu },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IObjectWithSite },
+        },
+    },
 };
 static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);
 
index a93605d..4bb4148 100644 (file)
@@ -176,6 +176,8 @@ static KNOWN_INTERFACE KnownInterfaces[] =
     { ID_NAME(IID_IInputObject)                      },
     { ID_NAME(IID_IInputObjectSite)                  },
     { ID_NAME(IID_IInternalUnknown),            TRUE },
+    { ID_NAME(IID_IInternetSecurityManager)          },
+    { ID_NAME(IID_IInternetZoneManager),        TRUE },
     { ID_NAME(IID_IItemNameLimits)                   },
     { ID_NAME(IID_IMarshal)                          },
     { ID_NAME(IID_IMarshal2),                   TRUE },
index d0d1bb6..df00ea8 100644 (file)
@@ -77,14 +77,19 @@ TestClasses(
 DEFINE_GUID(CLSID_ActiveDesktop,           0x75048700, 0xef1f, 0x11d0, 0x98, 0x88, 0x00, 0x60, 0x97, 0xde, 0xac, 0xf9);
 DEFINE_GUID(CLSID_AugmentedShellFolder,    0x91ea3f8b, 0xc99b, 0x11d0, 0x98, 0x15, 0x00, 0xc0, 0x4f, 0xd9, 0x19, 0x72);
 DEFINE_GUID(CLSID_AugmentedShellFolder2,   0x6413ba2c, 0xb461, 0x11d1, 0xa1, 0x8a, 0x08, 0x00, 0x36, 0xb1, 0x1a, 0x03);
-DEFINE_GUID(CLSID_CopyToMenu,              0xC2FBB630, 0x2971, 0x11D1, 0xA1, 0x8C, 0x00, 0xC0, 0x4F, 0xD7, 0x5D, 0x13);
+DEFINE_GUID(CLSID_BrowserBand,             0x7ba4c742, 0x9e81, 0x11cf, 0x99, 0xd3, 0x00, 0xaa, 0x00, 0x4a, 0xe8, 0x37);
 DEFINE_GUID(CLSID_CDBurn,                  0xfbeb8a05, 0xbeee, 0x4442, 0x80, 0x4e, 0x40, 0x9d, 0x6c, 0x45, 0x15, 0xe9);
+DEFINE_GUID(CLSID_CDockingBarPropertyBag,  0x4af4a5fc, 0x912a, 0x11d1, 0xb9, 0x45, 0x00, 0xa0, 0xc9, 0x03, 0x12, 0xe1);
+DEFINE_GUID(CLSID_CommBand,                0x4d5c8c2a, 0xd075, 0x11d0, 0xb4, 0x16, 0x00, 0xc0, 0x4f, 0xb9, 0x03, 0x76);
+DEFINE_GUID(CLSID_CopyToMenu,              0xC2FBB630, 0x2971, 0x11D1, 0xA1, 0x8C, 0x00, 0xC0, 0x4F, 0xD7, 0x5D, 0x13);
 DEFINE_GUID(CLSID_DeskMovr,                0x72267F6A, 0xA6F9, 0x11D0, 0xBC, 0x94, 0x00, 0xC0, 0x4F, 0xB6, 0x78, 0x63);
 DEFINE_GUID(CLSID_FadeTask,                0x7EB5FBE4, 0x2100, 0x49E6, 0x85, 0x93, 0x17, 0xE1, 0x30, 0x12, 0x2F, 0x91);
 DEFINE_GUID(CLSID_FolderItem,              0xfef10fa2, 0x355e, 0x4e06, 0x93, 0x81, 0x9b, 0x24, 0xd7, 0xf7, 0xcc, 0x88);
 DEFINE_GUID(CLSID_FolderItemsFDF,          0x53c74826, 0xab99, 0x4d33, 0xac, 0xa4, 0x31, 0x17, 0xf5, 0x1d, 0x37, 0x88);
 DEFINE_GUID(CLSID_FolderViewHost,          0x20b1cb23, 0x6968, 0x4eb9, 0xb7, 0xd4, 0xa6, 0x6d, 0x00, 0xd0, 0x7c, 0xee);
 DEFINE_GUID(CLSID_ISFBand,                 0xD82BE2B0, 0x5764, 0x11D0, 0xA9, 0x6E, 0x00, 0xC0, 0x4F, 0xD7, 0x05, 0xA2);
+DEFINE_GUID(CLSID_ImageListCache,          0x3f4eef80, 0xbfe8, 0x11d0, 0xa3, 0xa5, 0x00, 0xc0, 0x4f, 0xd7, 0x06, 0xec);
+DEFINE_GUID(CLSID_ImgCtxThumbnailExtractor,0x7376d660, 0xc583, 0x11d0, 0xa3, 0xa5, 0x00, 0xc0, 0x4f, 0xd7, 0x06, 0xec);
 DEFINE_GUID(CLSID_MergedFolder,            0x26fdc864, 0xbe88, 0x46e7, 0x92, 0x35, 0x03, 0x2d, 0x8e, 0xa5, 0x16, 0x2e);
 DEFINE_GUID(CLSID_MenuDeskBar,             0xECD4FC4F, 0x521C, 0x11D0, 0xB7, 0x92, 0x00, 0xA0, 0xC9, 0x03, 0x12, 0xE1);
 DEFINE_GUID(CLSID_MenuToolbarBase,         0x40b96610, 0xb522, 0x11d1, 0xb3, 0xb4, 0x00, 0xaa, 0x00, 0x6e, 0xfd, 0xe7);
@@ -95,8 +100,12 @@ DEFINE_GUID(CLSID_SendToMenu,              0x7BA4C740, 0x9E81, 0x11CF, 0x99, 0xD
 DEFINE_GUID(CLSID_ShellFolderView,         0x62112aa1, 0xebe4, 0x11cf, 0xa5, 0xfb, 0x00, 0x20, 0xaf, 0xe7, 0x29, 0x2d);
 DEFINE_GUID(CLSID_ShellImageDataFactory,   0x66e4e4fb, 0xf385, 0x4dd0, 0x8d, 0x74, 0xa2, 0xef, 0xd1, 0xbc, 0x61, 0x78);
 DEFINE_GUID(CLSID_ShellLinkObject,         0x11219420, 0x1768, 0x11d1, 0x95, 0xbe, 0x00, 0x60, 0x97, 0x97, 0xea, 0x4f);
+DEFINE_GUID(CLSID_ShellTaskScheduler,      0x603D3800, 0xBD81, 0x11d0, 0xA3, 0xA5, 0x00, 0xC0, 0x4F, 0xD7, 0x06, 0xEC);
 DEFINE_GUID(CLSID_StartMenuPin,            0xa2a9545d, 0xa0c2, 0x42b4, 0x97, 0x08, 0xa0, 0xb2, 0xba, 0xdd, 0x77, 0xc8);
+DEFINE_GUID(CLSID_Thumbnail,               0x7487cd30, 0xf71a, 0x11d0, 0x9e, 0xa7, 0x00, 0x80, 0x5f, 0x71, 0x47, 0x72);
 DEFINE_GUID(CLSID_TrackShellMenu,          0x8278F931, 0x2A3E, 0x11d2, 0x83, 0x8F, 0x00, 0xC0, 0x4F, 0xD9, 0x18, 0xD0);
+DEFINE_GUID(CLSID_UserAssist,              0xdd313e04, 0xfeff, 0x11d1, 0x8e, 0xcd, 0x00, 0x00, 0xf8, 0x7a, 0x47, 0x0c);
+DEFINE_GUID(CLSID_WebSearchExt,            0x07798131, 0xaf23, 0x11d1, 0x91, 0x11, 0x00, 0xa0, 0xc9, 0x8b, 0xa6, 0x7d);
 
 DEFINE_GUID(IID_IADesktopP2,               0xb22754e2, 0x4574, 0x11d1, 0x98, 0x88, 0x00, 0x60, 0x97, 0xde, 0xac, 0xf9);
 DEFINE_GUID(IID_IAccessControl,            0xeedd23e0, 0x8410, 0x11ce, 0xa1, 0xc3, 0x08, 0x00, 0x2b, 0x2b, 0x8d, 0x8f);
index e22d46f..49e4687 100644 (file)
@@ -591,6 +591,14 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
             {    0xc,   &IID_IObjectWithSite },
         }
     },
+    {
+        ID_NAME(CLSID_Thumbnail),
+        {
+            {    0x0,   &IID_IUnknown },
+            {    0x4,   &IID_IParentAndItem },
+            {    0x8,   &IID_IObjectWithSite },
+        },
+    },
     {
         ID_NAME(CLSID_TrackShellMenu),
         {