CFrameworkQuery::GetQueryClassName method

[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(

);

Parameters

This method has no parameters.

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header frquery.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll