Edit

CFrameworkQuery::GetValuesForProp methods

[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 GetValuesForProp method returns all of the values for a particular property that are generated by that property as it appears within the query.

For example, a call to GetValuesForProp(L"Name", sa) returns the array sa, which contains all the values of "Name" that require instances to be sent back to satisfy the query. If sa contains {"a","b"}, then all the instances where "Name=a" plus all the instances where "Name=b" must be sent back to completely satisfy the query.

If the constraints on "Name" are not sufficiently limiting, an empty sa array is returned.

Overload list

Method Description
GetValuesForProp(CHStringArray&, LPCWSTR) Returns all of the values for a particular property that are generated by that property as it appears within the query.
GetValuesForProp(LPCWSTR, std::vector<_bstr_t>&) Returns all of the values for a particular property that are generated by that property as it appears within the query.

Requirements

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