Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
[Function Discovery is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Adds a function instance to the collection.
Syntax
HRESULT Add(
[in] IFunctionInstance *pIFunctionInstance
);
Parameters
[in] pIFunctionInstance
A pointer to an IFunctionInstance interface for the function instance to be added to the collection.
Return value
Possible return values include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
The method completed successfully. |
|
The value of pIFunctionInstance is invalid. |
|
The method is unable to allocate the memory required to perform this operation. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | functiondiscoveryapi.h |
| DLL | FunDisc.dll |