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

Determines whether a query is for a single function instance or multiple function instances.

Syntax

HRESULT IsInstanceQuery(
  [out] BOOL  *pisInstanceQuery,
  [out] WCHAR **ppszConstraintValue
);

Parameters

[out] pisInstanceQuery

If this parameter is TRUE, there is a provider instance identifier constraint in the query constraints collection.

[out] ppszConstraintValue

The value of the provider instance identifier constraint.

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

IFunctionDiscoveryProviderQuery