To solve this issue, I could find two ways:
- Get keywords via
SQLGetConnectAttr with attribute SQL_ATTR_KEYWORDS
- Add a new api
SQLGetConnectKeys, then return a string buffer with comma or other character.
I think the best way to do it is adding a new API.