IGPMWMIFilter::GetQueryList method (gpmgmt.h)
Retrieves the query list stored in the WMI filter.
Syntax
HRESULT GetQueryList(
[out] VARIANT *pQryList
);
Parameters
[out] 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for