Harlequin RIP SDK
sw_event_handlers Struct Reference

Atomic multiple Handler registration. More...

#include "eventapi.h"

Data Fields

event_handler handler
 
void * context
 
HqnIdent reserved
 
sw_event_type type
 
sw_event_priority priority
 

Detailed Description

Atomic multiple Handler registration.

This subclass of the above structure is used by SwRegisterHandlers() and SwDeregisterHandlers() only, and is always used in arrays.

Field Documentation

◆ context

void* sw_event_handlers::context

Handler's context - can be anything.

◆ handler

event_handler sw_event_handlers::handler

Address of callback function.

◆ priority

sw_event_priority sw_event_handlers::priority

The priority with which to register.

◆ reserved

HqnIdent sw_event_handlers::reserved

Reserved for future use - must be set to 0 by auto/static initialisers, must not be read or used by clients. Do not even use the name of this field, it may change in future.

◆ type

sw_event_type sw_event_handlers::type

The Event type to register for.


The documentation for this struct was generated from the following file: