[PATCH] wdscore: Implement CurrentIP.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Sat Jan 22 03:12:26 CST 2022


Hi,

> "CurrentIP at 0" is a mangled symbol. The "@0" suffix means "this function
follows the
> __stdcall calling convention, and it accepts 0 bytes of arguments."
>
> However, export symbols are usually exported as unmangled names. Try:
>
>   DECLSPEC_IMPORT extern void *WINAPI CurrentIP(void);

As with Giovanni, this gives the error undefined reference to
`_imp__CurrentIP at 0'

But thanks for the detailed explanation, I really appreciate it.

> You can always resolve it manually it with GetProcAddress

Thanks! I had no idea you could do that in Wine, I thought it was part of
the Windows SDK only.

I've submitted a revision. Just wondering if the revision is showing up
under this email for anyone else or if it's just me? Maybe it's a Gmail
issue. The subject line is different so that's weird.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220122/2aab2400/attachment.htm>


More information about the wine-devel mailing list