MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 4: Rowsets


 

Releasing Rowsets

When the consumer is done with the rowset, it must release it as follows:

Note   If the consumer obtained the rowset by executing a command containing output parameters and the provider populates output parameters when the rowset is released (that is, the value of DBPROP_OUTPUTPARAMETERAVAILABILITY is DBPROP_OA_ATROWRELEASE), the consumer must ensure that memory allocated for the output parameters that were bound at ICommand::Execute time must still be valid when the rowset is released. Not doing so is a serious programming error that can cause abnormal termination.