Is it possible to use closures that capture a variable using the Raw or Generic hooks?
I'm trying to implement runtime function hooking in a scripting language, and I need to pass a last custom parameter that identifies the function, but it's not possible if only the pointer is accepted as-is.