CFrameworkQuery::GetQueryClassName 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 GetQueryClassName method retrieves the class name from the query.
Syntax
BSTR GetQueryClassName();
Return value
Returns the class name if the operation was successful and NULL otherwise.
Remarks
It is the developer's responsibility to call SysFreeString on the BSTR returned by this method to avoid a memory leak.
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 |