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.

Members

The IFunctionInstanceCollection interface inherits from the IUnknown interface. IFunctionInstanceCollection also has these types of members:

Methods

The IFunctionInstanceCollection interface has these methods.

MethodDescription
Add

Adds a function instance to the collection.

Delete

Removes the specified function instance from the collection.

DeleteAll

Removes all function instances from the collection.

Get

Gets the specified function instance and its index from the collection.

GetCount

Gets the number of function instances in the collection.

Item

Gets the specified function instance, by index.

Remove

Deletes the specified function instance and returns a pointer to the function instance being removed.

 

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

FunctionDiscoveryAPI.h

IDL

FunctionDiscoveryAPI.idl

DLL

FunDisc.dll

 

 

Community Additions

ADD
Show: