CFrameworkQuery::GetRequiredProperties method (frquery.h)

[The CFrameworkQuery class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The GetRequiredProperties method returns a list of all of the properties specified in the SELECT statement of a query. It returns the properties from both the SELECT and WHERE clauses.

Syntax

void GetRequiredProperties(
  CHStringArray & saProperties
);

Parameters

saProperties

Array of properties that were included in the query's SELECT statement.

Return value

None

Remarks

If the returned saProperties array is empty, then all properties are required.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header frquery.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll