IProviderQueryConstraintCollection::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 query constraint in the collection.

Syntax

HRESULT Next(
  [out] WCHAR **ppszConstraintName,
  [out] WCHAR **ppszConstraintValue
);

Parameters

[out] ppszConstraintName

The constraint name.

[out] ppszConstraintValue

The constraint value.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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

See also

IProviderQueryConstraintCollection