IProviderProperties::GetAt method (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.]
Gets the property key at the specified index.
Syntax
HRESULT GetAt(
[in] IFunctionInstance *pIFunctionInstance,
[in] INT_PTR iProviderInstanceContext,
[in] DWORD dwIndex,
[out] PROPERTYKEY *pKey
);
Parameters
[in] pIFunctionInstance
A pointer to an IFunctionInstance interface.
[in] iProviderInstanceContext
The context associated with the specific function instance.
[in] dwIndex
The index of the property key.
[out] pKey
The property key.
Return value
Possible return values include, but are not limited to, the following.
Return code | Description |
---|---|
|
The method completed successfully. |
|
One of the input parameters is invalid. |
|
The pKey parameter is NULL. |
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 |