CreateFile access/sharing problem

Vitaliy Margolen wine-devel at
Tue Oct 4 00:37:48 CDT 2005

Monday, October 3, 2005, 11:21:37 PM, Dmitry Timoshkov wrote:
> "Vitaliy Margolen" <wine-devel at> wrote:

>> It is an additional flags to the rest of the file flags because they are
>> transferred all the way to the kernel. And being translated into specific access
>> rights by an object manager according to the object type. It has array of the
>> generic attributes mappings.

> Does the ntdll export RtlMapGenericMask have anything to do with mapping GENERIC_xxxx
> flags into STANDARD_RIGHTS_xxxx? Is there any information regarding that?

Hmm, I don't know nothing about that one. I did some reading about object
manager and on of the functions of it is to translate those generic access flags
into appropriate full attributes. What interesting is that it's not per object
but per object type. So all files (real files, named pipes, etc) have the same
I'm not sure how far should we go with this. But I have a big work cut out for
me fixing wine's object manager.


More information about the wine-devel mailing list