[PATCH 2/3] shell32: Make ShellView listen for filesystem changes

Gabriel Ivăncescu gabrielopcode at gmail.com
Wed Jan 9 05:23:16 CST 2019


On 01/09/19 13:18, Nikolay Sivov wrote:
>
> On 1/9/19 2:12 PM, Gabriel Ivăncescu wrote:
>> On 01/09/19 08:56, Nikolay Sivov wrote:
>>>
>>> The issue as I understand is that unixfs is notifying with unix path
>>> pidl, while registration was done for windows path. Is it possible to
>>> make unixfs notify with windows path pidls instead? I don't know what
>>> could possibly break because of that, it needs some testing. Also it's
>>> possible to use a number of different flags during registration, no idea
>>> what that affects results, but testing that could be helpful too.
>>>
>>
>> Isn't that going to break with wine prefixes that don't have a Z:\
>> drive and you use an inaccessible windows path? You can still access
>> the files via \\?\unix\ prefix, but they'll be unixfs, right?
> I don't know, have you tried? If the issue is actually about comparing
> different kinds of pidls, without Z:\ you still get current behavior. Is
> it even possible to get a IShellFolder for \\?\unix\ path and use it
> with shell view?

Well currently, parsing \\?\unix doesn't seem to work with the shell, 
but we do have a pidl for /  (unix root), so such a pidl could 
theoretically be constructed (I'd say it's a current limitation of the 
shell but obviously an application could enumerate the Desktop and get 
the pidl for the / folder).

But I mean, in such case, what are we going to replace a pidl like 
|/|usr| into (assuming it's not accessible via any drive letter), as a 
windows path pidl? Or maybe I'm misunderstanding something?



More information about the wine-devel mailing list