CFrameworkQuery::IsPropertyRequired 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 IsPropertyRequired method determines if a particular property was requested by the query. Both the SELECT and WHERE clauses are checked.


bool IsPropertyRequired(
  LPCWSTR propName



Name of property that is checked.

Return value

Returns TRUE if the property specified by propName was requested and FALSE if it was not requested.


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