void mi_scan_setuserdata(MI_AM_SCAN_DESC *scanDesc, void
*userdata);
The access method can create a user-data structure in shared memory to store reusable information, such as function descriptors for qualifications and to maintain a row pointer for each execution of the am_getnext purpose function. To retain user data in memory during the scan (starting when am_beginscan is called and ending when am_endscan is called), follow these steps:
Allocate the user-data memory with a duration of PER_COMMAND.
None
See the descriptions of: