infomaniac50 / dokan

Automatically exported from code.google.com/p/dokan
0 stars 1 forks source link

Windows 8 Metro Apps #290

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mount a virtual drive implemented in C#.
2. Use the Windows 8 Metro Apps installed (PDF, Picture viewer)
3. The file is "broken".

Expect to open the file, however the file is reported as broken. ProcMon cannot 
show other operations than normally, though the CreateFileMapping is called 
numerous times.

If you open the files in Adobe Reader (desktop) no problem, or even Windows 
Image preview (desktop) no problem as well.

I assume the C# implementation of CreateFile and ReadFile need some tweaking. 
Anyone got this to Work?

Dokan 0.5.3, 0.6.0 on Windows 8 and 8.1 on x64 and x32 bit.

The mirror app have the same issues.

Original issue reported on code.google.com by ras...@foged.org on 31 Oct 2013 at 11:29

GoogleCodeExporter commented 9 years ago
Problem isolated to Alternative Data Streams. Does anyone have a working 
example that shows an implementation of ADS with Dokan ?

Original comment by ras...@foged.org on 10 Nov 2013 at 3:03

GoogleCodeExporter commented 9 years ago
Just set DOKAN_OPTION_ALT_STREAM in DOKAN_OPTIONS and you'll receive request 
for specific alternative streams in format %FILENAME%:%STREAMNAME% . But dokan 
by itself doesn't support enumeration of those streams so if problem is there 
you need to recompile dokan.dll and implement enumeration by yourself. 

http://support.microsoft.com/kb/105763
http://msdn.microsoft.com/en-us/library/cc232090.aspx
http://code.google.com/p/dokan/source/browse/trunk/dokan/fileinfo.c

PS: What are the names of steams that win8 trys to open?

Original comment by mladenov...@gmail.com on 11 Nov 2013 at 11:47

GoogleCodeExporter commented 9 years ago
Hi.

I have the same problem. Anyone found workarounds?

The issue #56 seems to talk about same problem we have encountered: the 
enumeration of streams.

I have tried the EnumADS. This is the output:
---
Error 1 [NTSTATUS -1073741822/c0000002h] on NQIF() of "X:\Wildlife.wmv".
---

Original comment by k...@digitaldolphins.jp on 13 Jan 2015 at 7:15