I'm using SQLDriverConnect(Driver=SQL Server) to connect to MS SQL Server 2000/2005.

I want to get the value of the following ODBC connection attributes:

AnsiNPW
AutoTranslate
QuotedID
Regional

1. Which ODBC API functions should I use to get those attributes?
2. Which constants do I pass to the ODBC API functions for those attributes?
3. Which header file (.h) contains the constants?


Thanks.