Quantcast
Channel: VMware Communities : Discussion List - Virtual Disk Development Kit
Viewing all articles
Browse latest Browse all 2039

How to see mounted volume in Windows Explorer?

$
0
0

Hello All,

 

I am new bie to the VDDK stuff, so you may find my question pretty obvious.

 

I am using VXMnt API to mount the disk but I don;t see it got mounted as part of Windows Explorer.

 

I am able to see the \\.\vstor2-mntapi10-shared-2CB22CB2007E00000000001000000\. I believe this device comes only after successful mount of the volume.

 

I also called DoDOSDevice(...) to map this device as drive.
DoDOSDevice(...) returns successfully and creates drive but I am not able to browse it from Windows Explorer.

 

Below are the calls I am making :

 

VixMntApi_Init(1, 0, NULL, NULL, NULL, NULL, NULL )
VixMntApi_OpenDisks( connection, DiskNames, numberOfDisks, VIXDISKLIB_FLAG_OPEN_READ_ONLY, &disksetHandle)

 

VixMntApi_GetVolumeHandles(....)
VixMntApi_MountVolume(...)
VixMntApi_GetVolumeInfo(...)  ---> Used Symboliclink for DefineDOSDevice
DoDeviceName(..)

 

I changed \\.\vstor2-mntapi10-shared-2CB22CB2007E00000000001000000\
To
"\DEVICE\vstor2-mntapi10-shared-2CB22CB2007E00000000001000000"  ---- But no success
"\\?\GLOBALROOT\\DEVICE\vstor2-mntapi10-shared-2CB22CB2007E00000000001000000"  -- No success.

 

Please correct me where I am going wrong. If possible share the sample code.

 

Thanks


Viewing all articles
Browse latest Browse all 2039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>