Edit

Share via


IWbemQuery::Parse method (wmiutils.h)

The IWbemQuery::Parse method parses a query string.

Syntax

HRESULT Parse(
  [in] LPCWSTR pszLang,
  [in] LPCWSTR pszQuery,
  [in] ULONG   uFlags
);

Parameters

[in] pszLang

Language of the query. Must be either "WQL" or "SQL" (case-sensitive). Any other value will result in the method failing and WBEM_E_INVALID_PARAMETER being returned.

[in] pszQuery

Valid WQL or SQL WMI query.

[in] uFlags

Reserved for future use. Must be 0 (zero).

Return value

This method returns an HRESULT indicating the status of the method call.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wmiutils.h
Library Wbemuuid.lib
DLL Wmiutils.dll

See also

IWbemQuery