- Events arrive in the form of the standard CTA event data structure:
typedef struct CTA_EVENT
{
DWORD id; /* Event code (and source service id) */
CTAHD ctahd; /* CT Access context handle */
DWORD timestamp; /* Timestamp */
DWORD userid; /* User id (defined by ctaCreateContext) */
DWORD size; /* Size of buffer if buffer != NULL */
void *buffer; /* Buffer pointer */
DWORD value; /* Event status or event-specific data */
DWORD objHd; /* Service client side object handle */
} CTA_EVENT;
- This structure, returned by ctaWaitEvent, informs the application which event occurred on which CTA context, as well as including additional information specific to the event.
- The CTA_EVENT structure contains the following fields: