[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    RE: Forwards exports - anyone?
From:       "Robert Shearman" <R.J.Shearman () warwick ! ac ! uk>
Date:       2003-10-29 18:35:53
[Download RAW message or body]

> -----Original Message-----
> From: wine-devel-admin@winehq.org
> [mailto:wine-devel-admin@winehq.org]On 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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic