-----------------------------------------------------------------------------------
Download
PureBasic Interface to ImDisk from
My PureBasic Stuff-----------------------------------------------------------------------------------
Tricks 'n' TipsPureBasic Interface to OpenCVPureBasic Interface to WinDivertPureBasic Interface to WinRARPureBasic Interface to 7-ZipPureBasic Interface to ImDiskWindows Services & Other StuffInvading Space AliensDeath Star vs AsteroidsGIF ToolkitLSB Image SteganographySpider Web DrawingDeform Image: MLSVideo Snipping ToolStitch Images: SIFTImage Waves: LUTYouTube Player & DownloaderMP4 Player & DownloaderBarcode GeneratorGoogle Translate ServiceEmbed JS into PureBasicGeolocation: Google MapsBook & Viewer & MagnifyVideo for Windows: VfWAlternate ConsoleNetwork Share Management-----------------------------------------------------------------------------------
ImDisk Virtual Disk Driver API- Windows NT, 2000, XP, Vista, 7, 8, 8.1 or Windows Server 2003, 2008, 2012
INCLUDED- 16 examples, 2 service files, 6 includes
- ImDisk v2.0.10.64:
http://www.ltr-data.se/opencode.html/#ImDisk-- imdisk.cpl / imdisk.lib / imdisk.sys
-- imdisk.h, imdisk.c, imdisk_cpl.cpp, imdisk_sys.cpp, drvio.c, gpl.txt, readme.txt
- Microsoft Windows SDK
-- imapi2fs.h, imapi2sample.cpp
-----------------------------------------------------------------------------------
EXAMPLES-
CreateDevice1.pb-- creates a RAM Disk linked to the first available drive letter
-
RemoveDevice1.pb-- removes the link between the drive and RAM Disk
-
CreateDevice2.pb-- creates an image file linked to the first available drive letter
-
RemoveDevice2.pb-- removes the link between the drive and image file
-
MountDevice.pb-- mounts an image file to virtual memory or relinks an image file
-
CreateMountPoint1.pb-- creates a
MountPoint between a folder location and the first available drive letter
-
RemoveMountPoint1.pb-- removes the link between the two locations
-
CreateMountPoint2.pb-- creates a
MountPoint between a folder location and a newly created folder
-
RemoveMountPoint2.pb-- removes the link between the two locations
-
AdjustImageFileSize.pb-- adjusts an image file size
-
ExtendDevice.pb-- extends the size of an image file
-
SaveImageFile.pb-- saves a device to an image file
-
SaveImageFileInteractive.pb-- saves a device to an image file interactively
-
QueryDevice.pb-- displays information about devices
-
GetFormattedGeometry.pb-- displays information about disk drives with a valid boot record signature
-
CreateMountableImage.pb-- creates a mountable image file from either a device or folder location
NOTES- Compiler Options--Compile/Run--Current directory:
binaries\- Request Administrator mode for Windows Vista and above:
checked--
CreateDriverService.pb: required to create the virtual device driver service
--
DeleteDriverService.pb: required to delete the virtual device driver service (may also need a reboot)
--
CreateDevice1.pb: required by the format-drive window prompt, and the HideDrive registry option
--
RemoveDevice1.pb: required by the HideDrive registry option
--
CreateDevice2.pb: required by the format-drive window prompt, and the HideDrive registry option
--
RemoveDevice2.pb: required by the HideDrive registry option
--
MountDevice.pb: required by the HideDrive registry option
--
ExtendDevice.pb: required by the device driver
--
SaveImageFile.pb: required by the DeviceIoControl function
--
SaveImageFileInteractive.pb: required by the DeviceIoControl function
--
GetFormattedGeometry.pb: required to access the BPB (BIOS Parameter Block)
-----------------------------------------------------------------------------------
Before using the ImDisk Interface for the first time run the file: CreateDriverService.pb (folder: /setservice/).- after a reboot any virtual drives are removed, but the formatted image files remain intact and can be reused
- if a virtual drive is created or modified in memory, an image file must be saved to be available after reboot