ScsiAdapter Methods |
The ScsiAdapter type exposes the following members.
Name | Description | |
---|---|---|
ChangeFlags(UInt32, Int64) |
Extends size of an existing virtual disk.
| |
ChangeFlags(UInt32, DeviceFlags, DeviceFlags) |
Modifies properties for an existing virtual disk.
| |
CheckDriverVersion |
Checks if version of running Arsenal Image Mounter SCSI miniport servicing this device object is compatible with this API
library. If this device object is not created by Arsenal Image Mounter SCSI miniport, an exception is thrown.
| |
CheckDriverVersion(SafeFileHandle) |
Checks if version of running Arsenal Image Mounter SCSI miniport servicing this device object is compatible with this API
library. If this device object is not created by Arsenal Image Mounter SCSI miniport, an exception is thrown.
| |
CreateDevice(Int64, UInt32, Int64, DeviceFlags, String, Boolean, UInt32) |
Creates a new virtual disk.
| |
CreateDevice(Int64, UInt32, Int64, DeviceFlags, String, Boolean, String, Boolean, UInt32) |
Creates a new virtual disk.
| |
Dispose |
Close device object.
(Inherited from DeviceObject.) | |
Dispose(Boolean) | (Inherited from DeviceObject.) | |
EnumerateDevicesProperties |
Retrieves a list of DeviceProperties objects for each virtual disk on this adapter.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Inherited from DeviceObject.) | |
GetDeviceList |
Retrieves a list of virtual disks on this adapter. Each element in returned list holds device number of an existing
virtual disk.
| |
GetDeviceName |
Returns a PhysicalDrive or CdRom device name for specified device number. Device numbers
are created when a new virtual disk is created and returned in a reference parameter to
CreateDevice method.
| |
GetDriverSubVersion |
Retrieves the sub version of the driver. This is not the same as the API compatibility version checked for by
CheckDriverVersion method. The version record returned by this GetDriverSubVersion method can be used to find
out whether the latest version of the driver is loaded, for example to show a dialog box asking user whether to
upgrade the driver. If driver does not support this version query, this method returns Nothing/null.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPnPDeviceName |
Returns a PnP registry property for the device object that SCSI port driver has created for a mounted device.
| |
GetRawDeviceName |
Returns an NT device path to the physical device object that SCSI port driver has created for a mounted device.
This device path can be used even if there is no functional driver attached to the device stack.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenDevice |
Opens a DiskDevice object for specified device number. Device numbers are created when
a new virtual disk is created and returned in a reference parameter to CreateDevice
method.
| |
QueryDevice(UInt32) |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String) |
Retrieves properties for an existing virtual disk.
| |
QueryDevice(UInt32, Int64, UInt32, Int64, DeviceFlags, String, String) |
Retrieves properties for an existing virtual disk.
| |
RemoveAllDevices |
Removes all virtual disks on current adapter.
| |
RemoveAllDevicesSafe |
Removes all virtual disks on current adapter by first taking the disks offline so that any
mounted file systems are safely dismounted.
| |
RemoveDevice |
Removes an existing virtual disk from adapter.
| |
RemoveDeviceSafe |
Removes an existing virtual disk from adapter by first taking the disk offline so that any
mounted file systems are safely dismounted.
| |
RescanBus |
Issues a SCSI bus rescan to find newly attached devices and remove missing ones.
| |
RescanScsiAdapter | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateDiskProperties |
Re-enumerates partitions on all disk drives currently connected to this adapter. No
exceptions are thrown on error, but any exceptions from underlying API calls are logged
to trace log.
| |
UpdateDiskProperties(UInt32) |
Re-enumerates partitions on specified disk currently connected to this adapter. No
exceptions are thrown on error, but any exceptions from underlying API calls are logged
to trace log.
|