IFunctionInstanceCollection interface

[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

This interface represents a group of IFunctionInstance objects returned as the result of a query or get instance request through one of the IFunctionDiscovery methods; client program do not create these collections themselves.


The IFunctionInstanceCollection interface has these methods.

Method Description
IFunctionInstanceCollection::Add Adds a function instance to the collection.
IFunctionInstanceCollection::Delete Removes the specified function instance from the collection.
IFunctionInstanceCollection::DeleteAll Removes all function instances from the collection.
IFunctionInstanceCollection::Get Gets the specified function instance and its index from the collection.
IFunctionInstanceCollection::GetCount Gets the number of function instances in the collection.
IFunctionInstanceCollection::Item Gets the specified function instance, by index.
IFunctionInstanceCollection::Remove Deletes the specified function instance and returns a pointer to the function instance being removed.


The IFunctionInstanceCollection interface allows a client program to enumerate a collection of IFunctionInstance objects.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header functiondiscoveryapi.h