IFunctionDiscoveryProvider interface (functiondiscoveryprovider.h)
[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 is the main interface implemented by a discovery provider. It is the primary interface the Function Discovery infrastructure uses to communicate with the provider and its resources.
You should only implement and use this interface if you are writing a discovery provider. You should only write a discovery provider if you must discover devices using a method that is not supported by the built-in providers.
If you are writing a client program that discovers and queries devices, use the IFunctionDiscovery interface instead.
The Function Discovery Provider Sample implements the IFunctionDiscoveryProvider interface.
Inheritance
The IFunctionDiscoveryProvider interface inherits from the IUnknown interface. IFunctionDiscoveryProvider also has these types of members:
Methods
The IFunctionDiscoveryProvider interface has these methods.
IFunctionDiscoveryProvider::EndQuery Terminates a query being executed by a provider. |
IFunctionDiscoveryProvider::Initialize Initializes the Function Discovery provider object. |
IFunctionDiscoveryProvider::InstancePropertyStoreFlush Provides a mechanism for the provider to persist properties. |
IFunctionDiscoveryProvider::InstancePropertyStoreOpen Opens the property store of the provider. |
IFunctionDiscoveryProvider::InstancePropertyStoreValidateAccess Verifies that the provider supports the requested access. |
IFunctionDiscoveryProvider::InstanceQueryService Creates a provider-specific COM object for the function instance. |
IFunctionDiscoveryProvider::InstanceReleased Releases the specified function instance and frees the memory previously allocated. |
IFunctionDiscoveryProvider::Query Retrieves a collection of function instances that meet the specified constraints. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | functiondiscoveryprovider.h |