On Mon, Jul 18, 2011 at 10:44 PM, Alexandre Julliard
<[email protected]> wrote:
> Grazvydas Ignotas <[email protected]> writes:
>> It looks like the best way would be to attach state to handle somehow
>> (that would be dropped automatically on CloseHandle), but I failed to
>> find a way to do so.
>
> You can't do that either I'm afraid. It's a tricky problem.

ok, what about expanding fd cache in dlls/ntdll/server.c with some
functions to allow attaching a pointer to a handle? That would
increase cache memory usage though, but perhaps something else could
use this too..

Or maybe scavenge 2 bits from fd_cache_entry.type (currently 6 bits
with 9 as max value) and make them caller writable? That would be
enough for tracking fake directories sent.


-- 
GraÅžvydas


Reply via email to