Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add vmdk file to VMPlayer (using sample Mirror code) #298

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

Hi,

I have mapped my local folder as a drive using Dokan Mirror example code, and 
try to add a vmdk file present in the Dokan folder to the VMPlayer. When I 
choose the disk and give 'Finish', VMPlayer throws an error like 'One of the 
parameters supplied is invalid'. I have debug the dokan logs and it seems 
'MirrorOpenDirectory' callback function received for the vmdk file and in the 
mirror code we send -1 as error code. 

In the MirrorCreateFile and MirrorGetFileInformation, 
DokanFIleInfo->IsDirectory seems to be 0 for the vmdk file and in the 
MirrorOpenDirectory callback function, DokanFIleInfo->IsDirectory seems to be 1.

OS - Windows 7
Dokan version - Dokan Library 0.6.0

I suspect this is the reason for the failure. My assumption is, 
MirrorOpenDirectory callback should not be called for files. Can anyone please 
confirm what could be the issue and help me to solve the issue.

Awaiting your update.

Regards,
Ashar.

Original issue reported on code.google.com by [email protected] on 4 Jul 2014 at 11:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant