[PATCH] psapi: Replace .spec forwards by forward implementations.

Dmitry Timoshkov dmitry at baikal.ru
Thu Sep 19 05:59:00 CDT 2019


Alexandre Julliard <julliard at winehq.org> wrote:

> >> > The application I'm working on hooks psapi.dll APIs and can't cope
> >> > with PE forwards. Inspection of psapi.dll in Windows shows that it
> >> > doesn't contain PE forwards at all.
> >> >
> >> > Since the API names are prepened with K32 it's impossible to use
> >> > -import in the .spec file for automatic forwards generation.
> >> 
> >> It should work fine with -import. Are you getting an error?
> >
> > I get enrties calling to itself because of psapi.h redefinitions,
> > if you know the recipe to avoid that then please add -import instead.
> 
> I don't see why psapi.h would be an issue for the spec file.

Of course that's not related and was a part of another attempt, but
probably I didn't try hard enough with -import flag.

> Something like this should work:

It does. Thanks!

-- 
Dmitry.



More information about the wine-devel mailing list