How Does Data Conversion Work?

When the consumer requests a data type not supported by the provider, the OLE DB template provider code for IRowsetImpl::GetData calls Msdaenum.dll to convert the data type.

If you implement an interface like IRowsetChange that requires data conversion, you can call Msdaenum.dll to do the conversion. Use GetData, defined in Atldb.h, as an example.