IProviderPropertyConstraintCollection::Next 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 name and value of the next property constraint in the collection.
Syntax
HRESULT Next(
[in] PROPERTYKEY *pKey,
[out] PROPVARIANT *pPropVar,
[out] DWORD *pdwPropertyConstraint
);
Parameters
[in] pKey
The property key.
[out] pPropVar
A PROPVARIANT used for the property constraint data.
[out] pdwPropertyConstraint
The type of constraint to apply.
Return value
Possible return values include, but are not limited to, the following.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The ppropVar or pdwPropertyConstraint 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 |