How is cursor information exchanged with a client?

A SRV_CURSOR event handler uses the srv_cursor_props routine and the SRV_CURDESC structure to exchange cursor information with a client. srv_cursor_props sends current information to a client and retrieves cursor information from a client by accessing a SRV_CURDESC structure.

For more information on the srv_cursor_props routine, see srv_cursor_props.

Because a client and server can exchange information about multiple cursors during a single connection session, they need to uniquely identify each cursor. An Open Server application responds to a cursor declaration by sending back a unique cursor ID. The client and the server refer to the cursor by this ID for the cursor’s lifetime.