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

List:       wine-devel
Subject:    Re: (no subject)
From:       Alexandre Julliard <julliard () winehq ! com>
Date:       2001-08-22 3:31:28
[Download RAW message or body]

Mike McCormack  <mike_mccormack@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@winehq.com

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

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