vxdcall calling convention

Patrik Stridvall ps at leissner.se
Mon Nov 18 14:53:49 CST 2002


> Patrik Stridvall <ps at leissner.se> writes:
> 
> > In any case I think Vincent and Marcus is right, it should be have a
> > WINAPI like in Vincent patch because otherwise the "DWORD service"
> > parameter is not popped from the stack AFAICS.
> 
> No, it makes no difference whatsoever, the stack is restored from the
> context structure in any case. 

Ah, OK. Wrong solution.

But still, shouldn't the "DWORD service" parameter be popped somewhere?
I can't see any place where it is.

> The only use of WINAPI would be to make
> winapi_check happy, but it would probably be better to teach it to not
> do that check for register functions.

VxDCall is the only register function that violates stdcall => WINAPI.
But sure turning the check off in winapi_check is easy.



More information about the wine-devel mailing list