IFunctionDiscovery 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 is used by client programs to discover function instances, get the default function instance for a category, and create advanced Function Discovery query objects that enable registering Function Discovery defaults, among other things.


The IFunctionDiscovery interface has these methods.

Method Description
IFunctionDiscovery::AddInstance Creates or modifies a function instance.
IFunctionDiscovery::CreateInstanceCollectionQuery Creates a query for a collection of specific function instances.
IFunctionDiscovery::CreateInstanceQuery Creates a query for a specific function instance.
IFunctionDiscovery::GetInstance Gets the specified function instance, based on identifier.
IFunctionDiscovery::GetInstanceCollection Gets the specified collection of function instances, based on category and subcategory.
IFunctionDiscovery::RemoveInstance Removes the specified function instance, based on category and subcategory.


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