public void launch(VirtualDrivesManager m_pManager) { uint diskSize = (uint)(m_rvi.drive_size / (1024 * 1024)); // MB pFileDiskHandler1 = new RemoteRedFSFileDiskHandler(m_rvi, "C:\\Users\\reddyv16\\Desktop\\disk_" + diskLetter); m_pHandler1 = pFileDiskHandler1; pFileDiskHandler1.PreAllocate(diskSize); m_driveHandle1 = m_pManager.CreateVirtualDrive((byte)diskLetter, diskSize, m_pHandler1); if (m_driveHandle1 == -1) { m_pHandler1 = null; return; } }
public void launch(VirtualDrivesManager m_pManager) { uint diskSize = (uint)(m_rvi.drive_size/(1024*1024)); // MB pFileDiskHandler1 = new RemoteRedFSFileDiskHandler(m_rvi, "C:\\Users\\reddyv16\\Desktop\\disk_" + diskLetter); m_pHandler1 = pFileDiskHandler1; pFileDiskHandler1.PreAllocate(diskSize); m_driveHandle1 = m_pManager.CreateVirtualDrive((byte)diskLetter, diskSize, m_pHandler1); if (m_driveHandle1 == -1) { m_pHandler1 = null; return; } }