Values for ImDisk flags fields used when creating, querying or modifying virtual disks.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax [FlagsAttribute]
public enum ImDiskFlags
<FlagsAttribute>
Public Enumeration ImDiskFlags
[FlagsAttribute]
public enum class ImDiskFlags
[<FlagsAttribute>]
type ImDiskFlags
Members
| Member name | Value | Description |
---|
| Auto | 0 |
Automatically selected device properties.
|
| ReadOnly | 1 |
Creates a read-only virtual disk.
|
| Removable | 2 |
Creates a virtual disk with "removable" properties reported to the operating system.
|
| SparseFile | 4 |
Specifies that image files are created with sparse attribute.
|
| DeviceTypeHD | 16 |
Creates a virtual disk with device type hard disk volume.
|
| DeviceTypeFD | 32 |
Creates a virtual disk with device type floppy disk.
|
| DeviceTypeCD | 48 |
Creates a virtual disk with device type CD-ROM/DVD-ROM etc.
|
| DeviceTypeRAW | 64 |
Creates a virtual disk with "unknown" device type.
|
| TypeFile | 256 |
Creates a virtual disk backed by a image file on disk. The Filename parameter specifies image file to use.
|
| TypeVM | 512 |
Creates a virtual disk backed by virtual memory. If Filename parameter is also specified, contents of that file
will be loaded to the virtual memory before driver starts to service I/O requests for it.
|
| TypeProxy | 768 |
Creates a virtual disk for which storage is provided by an I/O proxy application.
|
| ProxyTypeDirect | 0 |
Specifies that proxy application will be contacted directly through a named pipe. The Filename parameter specifies
path to named pipe.
|
| ProxyTypeComm | 4096 |
Specifies that proxy application will be contacted through a serial communications port. The Filename parameter
specifies port optionally followed by colon, space and a port configuration string using same format as MODE COM
command. Example: "COM1: BAUD=9600 PARITY=N STOP=1 DATA=8"
|
| ProxyTypeTCP | 8192 |
Specifies that proxy application will be contacted through a TCP/IP port. The Filename parameter specifies host
name or IP address optionally followed by colon and port number. If port number is omitted a default value of 9000
is used.
|
| ProxyTypeSharedMemory | 12288 |
Specifies that proxy application will be contacted through shared memory. The Filename parameter specifies object
name of shared memory block and synchronization event objects.
|
| FileTypeQueued | 0 |
Image file accessed using queued I/O requests.
|
| FileTypeAwe | 4096 |
Copy image file into physical memory block (AWE). No changes are written
back to image file.
|
| FileTypeParallel | 8192 |
Image file accessed using direct parallel I/O requests.
|
| Modified | 65536 |
This flag can only be set by the driver and may be included in the response Flags field from QueryDevice method.
It indicates that virtual disk contents have changed since created or since flag was last cleared. This flag can be
cleared by specifying it in FlagsToChange parameter and not in Flags parameter in a call to ChangeFlags method.
|
See Also