> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Shachar Shemesh
> Sent: 29 October 2003 13:41
> To: Wine Devel
> Subject: Forwards exports - anyone?
>
>
> Hi all,
>
> I noticed in the code that there is a concept called "forwad_export".
> Does it have anything to do with making a function in one DLL return a
> function address that belongs to another?
>
> If that is the case, how do I activate this? Is there some spec file
> magic that will do it?

Yes. Example from kernel32.spec:
@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory
This is a function called RtlMoveMemory that forwards to the ntdll function
RtlMoveMemory (the names don't have to be the same).

I believe this is exactly the way you want to do it as the same has been
done for the *Wrap functions in SHLWAPI (which are effectively a
mini-unicows.dll).

Rob



Reply via email to