MDAC 2.5 SDK - ODBC Programmer's Reference
Chapter 4: ODBC Fundamentals


 

Data Buffer Type

The C data type of a buffer is specified by the application. In the case of a single variable, this occurs when the application allocates the variable. In the case of generic memory—that is, memory pointed to by a pointer of type void—this occurs when the application casts the memory to a particular type. The driver discovers this type in two ways:

The driver uses the C data type to interpret the data in the buffer.