IFunctionDiscoveryProviderQuery::GetQueryConstraints 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.]

Retrieves the current query constraints.

Syntax

HRESULT GetQueryConstraints(
  [out] IProviderQueryConstraintCollection **ppIProviderQueryConstraints
);

Parameters

[out] ppIProviderQueryConstraints

A pointer to an IProviderQueryConstraintCollection interface pointer that receives the collection of query constraints.

Return value

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

Remarks

Providers are expected to apply all query constraints when returning results. Providers should ignore any query constraints they do not recognize.

The provider should examine all constraints to determine the query to perform.

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

IFunctionDiscoveryProviderQuery