IFunctionInstanceCollectionQuery 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 implements the asynchronous query for a collection of function instances based on category and subcategory. A pointer to this interface is returned when the collection query is created by the client program.


The IFunctionInstanceCollectionQuery interface has these methods.

Method Description
IFunctionInstanceCollectionQuery::AddPropertyConstraint Adds a property constraint to the query.
IFunctionInstanceCollectionQuery::AddQueryConstraint Adds a query constraint to the query.
IFunctionInstanceCollectionQuery::Execute Performs the query defined by IFunctionDiscovery::CreateInstanceCollectionQuery.


The Execute method must be invoked by the client program before any data can be retrieved from the query object.


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

See Also

Function Discovery Queries