It seems that `HOOKPROC` specifies the calling conversion, so closures cannot 
be used here. But I don't see how `self` is used in the callback, therefore you 
could just remove it from the parameter list. Otherwise (if it cannot be 
removed) you should follow @mashingan's suggestion.

Reply via email to