IGPMWMIFilter::GetQueryList method

Retrieves the query list stored in the WMI filter.

Syntax

HRESULT GetQueryList(
  VARIANT *pQryList
);

Parameters

pQryList

Pointer to a SAFEARRAY of VARIANT members that contain the BSTR strings representing the queries. Each BSTR string contains the query string along with the namespace information for that query.

Return Value

C++

Returns S_OK if successful. Returns a failure code if an error occurs.

JScript

An array of strings representing the queries. Each string contains the query string along with the namespace information for that query.

VB

An array of strings representing the queries. Each string contains the query string along with the namespace information for that query.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See Also

IGPMWMIFilter

IGPMWMIFilterCollection