[COM_APITEST]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 6 Nov 2016 18:04:58 +0000 (18:04 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 6 Nov 2016 18:04:58 +0000 (18:04 +0000)
- The new interfaces are not registered in the registry
- Add a few interfaces that were discovered for CLSID_Printers and CLSID_QueryAssociations.

svn path=/trunk/; revision=73156

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

index 2a69a4d..0c4aaf1 100644 (file)
@@ -267,7 +267,7 @@ static KNOWN_INTERFACE KnownInterfaces[] =
     { ID_NAME(IID_IResolveShellLink)                 },
     { ID_NAME(IID_IRpcOptions),                 TRUE },
     { ID_NAME(IID_IRunnableObject)                   },
-    { ID_NAME(IID_ISLTracker)                        },
+    { ID_NAME(IID_ISLTracker),                  TRUE },
     { ID_NAME(IID_IScriptErrorList)                  },
     { ID_NAME(IID_ISearch)                           },
     { ID_NAME(IID_ISearchAssistantOC)                },
@@ -403,58 +403,58 @@ static KNOWN_INTERFACE KnownInterfaces[] =
 
     { ID_NAME(CLSID_ShellDesktop),              TRUE },
 
-    { ID_NAME(IID_IAggregateFilterCondition)         },
-    { ID_NAME(IID_IAliasRegistrationCallback)        },
-    { ID_NAME(IID_IAssociationArrayInitialize)       },
-    { ID_NAME(IID_IAssociationList)                  },
-    { ID_NAME(IID_IBackReferencedObject)             },
-    { ID_NAME(IID_IBasePropPage)                     },
-    { ID_NAME(IID_ICommonLayoutDefinition)           },
-    { ID_NAME(IID_IControlPanelEnumerator)           },
-    { ID_NAME(IID_IDelegateHostItemContainer)        },
-    { ID_NAME(IID_IDrawPropertyControl)              },
-    { ID_NAME(IID_IEnumAssociationElements)          },
-    { ID_NAME(IID_IEnumerateAssociationElements)     },
-    { ID_NAME(IID_IExecuteCommand)                   },
-    { ID_NAME(IID_IFilterCondition)                  },
-    { ID_NAME(IID_IFolderNotify)                     },
-    { ID_NAME(IID_IFolderProperties)                 },
-    { ID_NAME(IID_IFolderType)                       },
-    { ID_NAME(IID_IFolderWithSearchRoot)             },
-    { ID_NAME(IID_IFrameLayoutDefinition)            },
-    { ID_NAME(IID_IItemFilter)                       },
-    { ID_NAME(IID_IItemFilterOwner)                  },
-    { ID_NAME(IID_ILocalizableItemParent)            },
-    { ID_NAME(IID_INewItemAdvisor)                   },
-    { ID_NAME(IID_IObjectWithAssociationElement)     },
-    { ID_NAME(IID_IObjectWithAssociationList)        },
-    { ID_NAME(IID_IObjectWithQuerySource)            },
-    { ID_NAME(IID_IObjectWithSelection)              },
-    { ID_NAME(IID_IPersistString2)                   },
-    { ID_NAME(IID_IPrinterFolder)                    },
-    { ID_NAME(IID_IPropertyControl)                  },
-    { ID_NAME(IID_IPropertyControlBase)              },
-    { ID_NAME(IID_IPropertyControlSite)              },
-    { ID_NAME(IID_IRegItemCustomAttributes)          },
-    { ID_NAME(IID_IRegItemCustomEnumerator)          },
-    { ID_NAME(IID_IRegItemFolder)                    },
-    { ID_NAME(IID_IRootAndRelativeParsingFolder)     },
-    { ID_NAME(IID_IScope)                            },
-    { ID_NAME(IID_IScopeItem)                        },
-    { ID_NAME(IID_IShellBrowserServce)               },
-    { ID_NAME(IID_IShellFolder3)                     },
-    { ID_NAME(IID_ITaskCondition)                    },
-    { ID_NAME(IID_ITaskConditionCombiner)            },
-    { ID_NAME(IID_ITaskConditionInit)                },
-    { ID_NAME(IID_ITransferProvider)                 },
-    { ID_NAME(IID_IUserEventTimer)                   },
-    { ID_NAME(IID_IUserEventTimerCallback)           },
-    { ID_NAME(IID_IAssociationArrayOld)              },
-    { ID_NAME(IID_IAssociationArray)                 },
-    { ID_NAME(IID_IDriveFolderExtOld)                },
-    { ID_NAME(IID_IDriveFolderExt)                   },
-    { ID_NAME(IID_IPinnedListOld)                    },
-    { ID_NAME(IID_IPinnedList)                       }
+    { ID_NAME(IID_IAggregateFilterCondition),   TRUE },
+    { ID_NAME(IID_IAliasRegistrationCallback),  TRUE },
+    { ID_NAME(IID_IAssociationArrayInitialize), TRUE },
+    { ID_NAME(IID_IAssociationList),            TRUE },
+    { ID_NAME(IID_IBackReferencedObject),       TRUE },
+    { ID_NAME(IID_IBasePropPage),               TRUE },
+    { ID_NAME(IID_ICommonLayoutDefinition),     TRUE },
+    { ID_NAME(IID_IControlPanelEnumerator),     TRUE },
+    { ID_NAME(IID_IDelegateHostItemContainer),  TRUE },
+    { ID_NAME(IID_IDrawPropertyControl),        TRUE },
+    { ID_NAME(IID_IEnumAssociationElements),    TRUE },
+    { ID_NAME(IID_IEnumerateAssociationElements),TRUE },
+    { ID_NAME(IID_IExecuteCommand),             TRUE },
+    { ID_NAME(IID_IFilterCondition),            TRUE },
+    { ID_NAME(IID_IFolderNotify),               TRUE },
+    { ID_NAME(IID_IFolderProperties),           TRUE },
+    { ID_NAME(IID_IFolderType),                 TRUE },
+    { ID_NAME(IID_IFolderWithSearchRoot),       TRUE },
+    { ID_NAME(IID_IFrameLayoutDefinition),      TRUE },
+    { ID_NAME(IID_IItemFilter),                 TRUE },
+    { ID_NAME(IID_IItemFilterOwner),            TRUE },
+    { ID_NAME(IID_ILocalizableItemParent),      TRUE },
+    { ID_NAME(IID_INewItemAdvisor),             TRUE },
+    { ID_NAME(IID_IObjectWithAssociationElement),TRUE },
+    { ID_NAME(IID_IObjectWithAssociationList),  TRUE },
+    { ID_NAME(IID_IObjectWithQuerySource),      TRUE },
+    { ID_NAME(IID_IObjectWithSelection),        TRUE },
+    { ID_NAME(IID_IPersistString2),             TRUE },
+    { ID_NAME(IID_IPrinterFolder),              TRUE },
+    { ID_NAME(IID_IPropertyControl),            TRUE },
+    { ID_NAME(IID_IPropertyControlBase),        TRUE },
+    { ID_NAME(IID_IPropertyControlSite),        TRUE },
+    { ID_NAME(IID_IRegItemCustomAttributes),    TRUE },
+    { ID_NAME(IID_IRegItemCustomEnumerator),    TRUE },
+    { ID_NAME(IID_IRegItemFolder),              TRUE },
+    { ID_NAME(IID_IRootAndRelativeParsingFolder),TRUE },
+    { ID_NAME(IID_IScope),                      TRUE },
+    { ID_NAME(IID_IScopeItem),                  TRUE },
+    { ID_NAME(IID_IShellBrowserServce),         TRUE },
+    { ID_NAME(IID_IShellFolder3),               TRUE },
+    { ID_NAME(IID_ITaskCondition),              TRUE },
+    { ID_NAME(IID_ITaskConditionCombiner),      TRUE },
+    { ID_NAME(IID_ITaskConditionInit),          TRUE },
+    { ID_NAME(IID_ITransferProvider),           TRUE },
+    { ID_NAME(IID_IUserEventTimer),             TRUE },
+    { ID_NAME(IID_IUserEventTimerCallback),     TRUE },
+    { ID_NAME(IID_IAssociationArrayOld),        TRUE },
+    { ID_NAME(IID_IAssociationArray),           TRUE },
+    { ID_NAME(IID_IDriveFolderExtOld),          TRUE },
+    { ID_NAME(IID_IDriveFolderExt),             TRUE },
+    { ID_NAME(IID_IPinnedListOld),              TRUE },
+    { ID_NAME(IID_IPinnedList),                 TRUE }
 };
 static const INT KnownInterfaceCount = RTL_NUMBER_OF(KnownInterfaces);
 
index 49e4687..0b6e63c 100644 (file)
@@ -363,6 +363,7 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
         ID_NAME(CLSID_Printers),
         {
             {   -0xc,   &IID_IRemoteComputer },
+            {   -0x4,   &IID_IFolderNotify },
             {    0x0,   &IID_IShellFolder2 },
             {    0x0,       &IID_IShellFolder },
             {    0x0,           &IID_IUnknown },
@@ -376,7 +377,9 @@ static const CLASS_AND_INTERFACES ExpectedInterfaces[] =
     {
         ID_NAME(CLSID_QueryAssociations),
         {
-            {    0x0,   &IID_IUnknown },
+            {    0x0,   &IID_IAssociationArrayOld },
+            {    0x0,       &IID_IUnknown },
+            {    0x4,   &IID_IAssociationArrayInitialize },
             {    0x8,   &IID_IQueryAssociations },
         }
     },