ImDiskAPICreateDevice Method (Int64, String, UInt32) |
Creates a new memory backed ImDisk virtual disk with the specified size in bytes.
Namespace: LTR.IO.ImDiskAssembly: 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
)
Public Shared Sub CreateDevice (
DiskSize As Long,
MountPoint As String,
ByRef DeviceNumber As UInteger
)
public:
static void CreateDevice(
long long DiskSize,
String^ MountPoint,
unsigned int% DeviceNumber
)
static member CreateDevice :
DiskSize : int64 *
MountPoint : string *
DeviceNumber : uint32 byref -> unit
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