XPLMHotKey_f

typedef void (* XPLMHotKey_f)(
                         void *               inRefcon);    

Your hot key callback simply takes a pointer of your choosing.