3Fermer5
PpHdLe 08/01/2011 à 12:05
Je comprends pas trop ton problème. Est-ce que cet exemple t'aide ?
typedef short (*callback_t)(void *, short);

short Callback (void* Data, short Msg) 
{ 
    return 0; 
}

short f(callback_t func, void* v, short s)
{
  callback_t func2 = func;
  return (*func2) (v, s);
}

short g(void *v, short s)
{
  return f(Callback, v, s);
}