EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error 87 (The parameter is incorrect) with PnP and Removable

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#18266
Posted: 11/22/2011 11:08:07
by Brahim Bakayoko (Standard support level)
Joined: 11/22/2011
Posts: 37

Hi,

I have an issue whereas I am getting an error when mounting the virtual disk.
The error code is 87 and the message is "The parameter is incorrect".

This happens when using CBFS_SYMLINK_MOUNT_MANAGER, PnP, and setting the characteristic as removable.

Everything works fine if I set it to be a simple disk and removable.

Thanks.
#18267
Posted: 11/22/2011 11:45:07
by Eugene Mayevski (EldoS Corp.)

1) what driver version are you using?

2) there was a similar problem asked about recently and the resolution was simple. But if only I could remember it ... Will try to find in our records


Sincerely yours
Eugene Mayevski
#18268
Posted: 11/22/2011 11:54:21
by Eugene Mayevski (EldoS Corp.)

Ok, I recalled what it was. The issue I am referring to required the user to set values for StorageType and StorageCharacteristics properties explicitly as they were not initialized correctly by default. This could have been addressed already, though.

So please tell me what exactly OS you are having the problem with?


Sincerely yours
Eugene Mayevski
#18269
Posted: 11/22/2011 11:56:13
by Brahim Bakayoko (Standard support level)
Joined: 11/22/2011
Posts: 37

Hi Eugene,

1. I am using version 3.2.101.

2. Are you referring to this thread? https://www.eldos.com/forum/read.php?FID=13&TID=3213

The issues are a bit different in that I can only get the drive to be removable only if I set it to be a simple disk. It does not work PnP, but PnP works fine as a fixed disk.

Thanks.
#18270
Posted: 11/22/2011 12:03:25
by Eugene Mayevski (EldoS Corp.)

... and what API are you using?


Sincerely yours
Eugene Mayevski
#18272
Posted: 11/22/2011 17:13:06
by Brahim Bakayoko (Standard support level)
Joined: 11/22/2011
Posts: 37

Quote
Eugene Mayevski wrote:
... and what API are you using?


API?
Callback File System with C++ binding.
#18277
Posted: 11/22/2011 22:14:06
by Eugene Mayevski (EldoS Corp.)

Quote
Brahim Bakayoko wrote:
2. Are you referring to this thread? https://www.eldos.com/forum/read.php?FID=13&TID=3213


No, I was talking about different one. Do you set both StorageType and StorageCharacteristics explicitly? Can you show the piece of code that sets properties and performs mounting?


Sincerely yours
Eugene Mayevski
#18324
Posted: 11/29/2011 13:14:46
by Brahim Bakayoko (Standard support level)
Joined: 11/22/2011
Posts: 37

Hi Eugene,

Sorry I got sidetracked into some other stuffs.
So, back to the issue I am reporting.

Yes, I am explicitly setting the StorageType and Characteristics.
Code
g_CbFs->SetStorageType(CallbackFileSystem::stDiskPnP);
g_CbFs->SetStorageCharacteristics((CallbackFileSystem::CbFsStorageCharacteristics)CallbackFileSystem::scRemovableMedia));

...//finally (after setting everything else)
g_CbFs->AddMountingPoint(mountPoint.getWString(), CBFS_SYMLINK_MOUNT_MANAGER, NULL);
#18325
Posted: 11/29/2011 13:25:20
by Eugene Mayevski (EldoS Corp.)

Moved to helpdesk.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 2180 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!