File media type

Alexandre Julliard julliard at
Thu Oct 18 19:57:22 CDT 2001

Ove Kaaven <ovehk at> writes:

> But since to do this, MapViewOfFile needs to know the media type, and the
> file name is only known in CreateFile, I apparently need to store the
> media type in the wineserver object to accomplish this.
> Would changing the wineserver protocol in this way be a good idea?

It's certainly a possibility. It would be nice to be able to tell
directly from the file descriptor, so that we wouldn't depend on the
user getting the drive specifications right. But I can't think of a
Unix function that would allow doing this cleanly.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list