HRESULT InsertRow(
HACCESSOR haccessor,
void *pData,
HROW& hrow);
Parameters
haccessor
Handle to a row accessor that describes the data format in the buffer pointed to by pData.
pData
Caller-defined buffer containing data for each column for the newly added row, as defined by the binding information used to create the row accessor. This argument can be NULL if haccessor receives a handle to a null accessor. In this case, the row inserted will contain default column data.
hrow
Reference to a buffer to receive the handle to the newly inserted row.
Return Code
S_OK
Method succeeded.
E_NOINTERFACE
Returned if IRowsetChange is not available.
E_FAIL
Returned if the object is not attached.
Comments
Uses IRowsetChange::InsertRow to insert a row.