OLE DB Programmer's Reference |
Before fetching cell data, the application has to create an accessor that describes the structure of the data buffer. This is done by calling IAccessor::CreateAccessor. The accessor created using this method is given as an input parameter to IMDDataset::GetCellData. Because GetCellData can fetch multiple cells in a single call, the provider must know the size of each cell in the data buffer. Applications must provide this size in the cbRowSize argument of IAccessor::CreateAccessor. Failure to do so will result in an error from this method, and an accessor will not be created.
1998-2001 Microsoft Corporation. All rights reserved.