short GetHostVariableNames(long QueryID, VARIANT* Names)
Description
This function returns an array of the names of all host variables referenced in the specified query. The query should be a static query referencing host variables (either stored with the QMF query or created by AddHostVariable() or AddDecimalHostVariable().
Parameters
Name | Description |
---|---|
QueryID | The ID of the query, as returned from InitializeStaticQuery(). |
Names | A pointer to a VARIANT in which you want to store the result array. |
Return Value
The return value will be zero, if successful and non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString() to get additional error information.
Related Tasks