How do I get the unix filename for a wine handle?

Alexandre Julliard julliard at winehq.org
Sat Jun 24 07:24:31 CDT 2006


Christoph Probst <chris-usenet at netzpunkt.org> writes:

> So what do you think about the solution that the wineserver stores the 
> filename in the file object when the object is created?
>
> Just like wine_server_handle_to_fd() there would be a 
> wine_server_handle_to_filename() that returns the filename.
>
> Any objections to this?

Yes. Like I said, there's no guarantee that the file even has a name,
or that it is accessible under the name that was used to open it, so
we can't provide such an API.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list