Next Topic

Previous Topic

Book Contents

Execute

bool Execute(const char *pWQL)

bool Execute(const char *pWQL,const int iPrivacy)

Return values

True if the query was successfully executed, false if an error occurred.

Parameters

Remarks

Executes an WQL (WMI Query Language) query. Calls to Next() and GetProperty() can be used to retrieve the result.