mi_integer am_beginscan(MI_AM_SCAN_DESC *scanDesc)
The functions that the access method supplies for am_beginscan, am_getnext, and am_endscan compose the main scan-management routines. In its turn, the am_beginscan purpose function can perform the following operations:
For a more detailed discussion, refer to Processing Queries.
For more information about memory allocation, refer to Storing Data in Shared Memory.
You can also choose to defer any processing of qualifications until the am_getnext function.
MI_OK indicates success. MI_ERROR indicates failure.
See the descriptions of: