Click or drag to resize
ImDiskAPICreateDevice Method (Int64, String, UInt32)
Creates a new memory backed ImDisk virtual disk with the specified size in bytes.

Namespace: LTR.IO.ImDisk
Assembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax
public static void CreateDevice(
	long DiskSize,
	string MountPoint,
	ref uint DeviceNumber
)

Parameters

DiskSize
Type: SystemInt64
Size of virtual disk.
MountPoint
Type: SystemString
Mount point in the form of a drive letter and colon to create for newly created virtual disk. If this parameter is Nothing/null the virtual disk will be created without a drive letter.
DeviceNumber
Type: SystemUInt32
In: Device number for device to create. Device number must not be in use by an existing virtual disk. For automatic allocation of device number, pass UInt32.MaxValue. Out: Device number for created device.
See Also