IFunctionDiscoveryProviderQuery::IsSubcategoryQuery 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 function instances in a specific subcategory.

Syntax

HRESULT IsSubcategoryQuery(
  [out] BOOL  *pisSubcategoryQuery,
  [out] WCHAR **ppszConstraintValue
);

Parameters

[out] pisSubcategoryQuery

If this parameter is TRUE, there is a subcategory constraint in the query constraints collection.

[out] ppszConstraintValue

The value of the subcategory constraint.

Return value

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

Remarks

If the provider does not support subcategories, the provider should return an IFunctionInstanceCollection with 0 instances in response to the query.

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