The IRawObjectAccess custom interface
The IRawObjectAccess custom interface is provided for users of the API and the Microsoft™ ODBC API. IRawObjectAccess enables you to instantiate an ActiveX value object with raw data or to extract raw data from an existing value object.
If you are using the API or the Microsoft ODBC API and a query of the database server results in an ActiveX value object, you get the raw data of the object. You can use this data and the methods of the IRawObjectAccess interface to instantiate the ActiveX value object and access its custom methods.
The IRawObjectAccess interface provides the following
methods.
Method | Description |
---|---|
void * GetDataC() | Returns a pointer to OpaqueStruct, the C data structure that defines the opaque type that is encapsulated as an ActiveX value object. |
SetDataC(void *struct) | Sets OpaqueStruct to the values specified by struct. |
void * GetDataCpp() | Returns a pointer to OpaqueClient, the C++ object that represents the ActiveX value object. |
SetDataCpp(void * struct) | Sets OpaqueClient (returned by GetDataCpp) to the values specified by struct. |