"Alexandre" == Alexandre Julliard julliard@winehq.com writes:
Alexandre> Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes: >> Wine happily returns a valid function adress, also obvious the same >> at least for different stubbed functions in the same dll. I searched >> for a way to return perhaps some flag in LdrGetProcedureAddress for >> that case, but I was not able to find something. I didn't find a way >> how LdrGetProcedureAddress could get that address and compare with >> the function address calculated for the requested function. >> >> Perhaps Eric or some other guru can... >> >> I propose that GetProcAddress evaluates that flag and should return 0 >> for stubs.
Alexandre> There's no reason to do that; the whole point of declaring a Alexandre> stub is to provide a function address. If we don't want that Alexandre> function at all it should simply be commented out in the spec Alexandre> file.
Andi,
as your patches causes breackage, please revisit with Alexandre's rule applied.
Bye