SRV_EVENTDATA

Accesses event-handler data passed by srv_event.

Syntax

void * SRV_EVENTDATA ( SRV_PROC * srvproc );

where

srvproc
Is a pointer to the SRV_PROC structure that is the handle for a particular client connection (in this case, the handle that received the event).

Returns

A pointer to the event data area in the SRV_PROC structure being passed data by srv_event. The pointer can be NULL.

Remarks

Sometimes an event contains data supplied by the Open Data Services developer. A pointer to this data can be made available to the event handler using SRV_EVENTDATA. This data can be passed to event handlers for any event supported by the srv_event function.

See Also

This entry For information about
srv_event Activating an event