[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: server: Add object type to struct object
From: Vitaliy Margolen <wine-devel () kievinfo ! com>
Date: 2005-10-31 5:14:25
Message-ID: 458177184.20051030221425 () kievinfo ! com
[Download RAW message or body]
Sunday, October 30, 2005, 9:52:40 PM, Robert Shearman wrote:
> Vitaliy Margolen wrote:
>>This is by far not what native does. But we are not implementing the whole
>>kernel here. So having just an object type ID will work just fine for what
>>we need.
>>
>>Vitaliy Margolen
>>
>>changelog:
>> server
>> - Add object type to struct object
>>
> Why do you need this? It seems that having an object type field is
> redundant since we can uniquely identify an object by the address of its
> object_ops.
Because the way I've implemented directory object it's not fully abstract. It
needs to have a special case for symlinks lookups.
Also I will need that for NtQueryDirectoryObject as it have to return object
type name. I suppose I could compare obj->ops but that means they won't be
static anymore and will have to be visible outside the file where they are
defined.
Vitaliy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic