<div dir="ltr"><span class=""></span><br><span class=""></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think that shell32 in shfldr_unixfs.c should check this setting<br>
instead. Since it's skipping ntdll and using the Unix file APIs<br>
directly, it should report the same thing to applications that ntdll<br>
does, namely that dotfiles are not hidden files.<br>
</blockquote></div><br></div><div class="gmail_extra">I have been looking at this just now and would like some more advice. In ntdll a number of things are done:<br><br></div><div class="gmail_extra">* The registry key is only read once (I presume for performance reasons)<br></div><div class="gmail_extra">* The DIR_is_hidden_file is called for every file<br></div><div class="gmail_extra">* Folders like /dev, /proc, wine config, ... are always hidden<br><br></div><div class="gmail_extra">It seems strange to me to reimplement all this logic and I figure it is desired to have the same behavior in both components so I would like to abstract it to a common base, however:<br><br></div><div class="gmail_extra">* What is the best place to do this? To me somewhere in the libs seemed logical but I noticed that nowhere in there registry keys are being read so am I wrong thinking this is undesired behavior there? Is there a dll I could put this common code?<br></div><div class="gmail_extra">* ntdll and shell32 use different functions to access registry keys, would it be a problem if the common code would only use the RegOpenKey functions?<br><br></div><div class="gmail_extra">br,<br></div><div class="gmail_extra">Mathy<br></div></div>