"Ge van Geldorp" gvg@reactos.com writes:
Seems impossible for functions with unknown calling conventions and number of parameters.
I don't think that's a common case, most of these have been identified by now. But anyway, if you have an app calling the function you should be able to determine the number of parameters; and if you don't then you shouldn't need the stub at all. Do you have a specific case where this is a problem?