GetOriginalData

HRESULT GetOriginalData(
HROW hrow, 
HACCESSOR haccessor, 
void *pData);

Parameters

hrow

Handle to a row.

haccessor

Handle to a row accessor.

pData

Caller-defined buffer. This buffer must be large enough to hold data as defined by the binding information used to create the row accessor.

Return Code

S_OK

Method succeeded.

E_NOINTERFACE 
Returned if IRowsetUpdate is not available.

E_FAIL
Returned if the object is not attached.

Comments

Uses IRowsetUpdate::GetOriginalData to retrieve the row data that was last committed to the data source.