Values for flag fields used when creating, querying or modifying virtual disks.
Namespace:
Arsenal.ImageMounter
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax [FlagsAttribute]
public enum DeviceFlags
<FlagsAttribute>
Public Enumeration DeviceFlags
[FlagsAttribute]
public enum class DeviceFlags
[<FlagsAttribute>]
type DeviceFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
Placeholder for empty flag field.
|
| 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.
|
| 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. Requires lower level driver to be callable at
DISPATCH_LEVEL, otherwise IRQL_NOT_LESS_THAN_OR_EQUAL blue screen.
|
| FileTypeBuffered | 12288 |
Image file accessed using queued I/O requests to image file opened in buffered mode. Useful for example when
mounting image file with smaller sector size than image file storage.
|
| 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.
|
| FakeDiskSignatureIfZero | 131072 |
If this flag is set, the driver will report a random fake disk signature to Windows in case device is read-only,
existing disk signature is zero and master boot record has otherwise apparently valid data.
|
| SharedImage | 262144 |
Open image in shared mode.
|
| WriteOverlay | 524288 |
Use differencing image file as write overlay. This is only valid together with read-only flag and file or proxy
types and when a write overlay image file is specified when the virtual disk is created. It also needs the write
filter driver to be installed and registered.
|
See Also