AFAIK, there is no variant parameter type accessed from the API when library parts (GDL) are accessed...
See API_AddParType for the struc/union and API_AddParID for the parameter type flag.
From your other thread (I assume it is you with a nearly identical userid?) about SQL, perhaps you are trying to automate a SQL query rather than program an add-on?
Or are you automating the query using an add-on and utilizing APIAny_ExecuteSQLQueryID and then attempting to process the resulting xml file?
Please state completely and clearly what you are attempting so that someone can help you.
Thanks,
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB