Mike McCormack <mike_mccormack(a)start.com.au> writes:
> How about returning a function pointer instead of an id?
>
> When the file handle is registered with the wine-server, we would also
> send function pointers for the read and write operations. This way we
> could have seperate implementations of ReadFile or WriteFile for
> different types of handles...
You can't do that. The ReadFile can be done from another process, and
the pointer won't be valid there.
--
Alexandre Julliard
julliard(a)winehq.com