Lines Matching refs:collection
24 bool AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection,
75 // Add this IShellLink object to the given collection.
76 return SUCCEEDED(collection->AddObject(link));
173 base::win::ScopedComPtr<IObjectCollection> collection;
174 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection,
182 AddShellLink(collection, application_path.value(), *it);
190 result = collection.QueryInterface(object_array.Receive());
215 // We once add the given items to this collection object and add this
216 // collection to the JumpList.
217 base::win::ScopedComPtr<IObjectCollection> collection;
218 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection,
226 AddShellLink(collection, application_path.value(), link);
237 result = collection.QueryInterface(object_array.Receive());