ScsiAdapterQueryDevice Method (UInt32, Int64, UInt32, Int64, DeviceFlags, String) |
Retrieves properties for an existing virtual disk.
Namespace:
Arsenal.ImageMounter
Assembly:
Arsenal.ImageMounter (in Arsenal.ImageMounter.dll) Version: 1.0.0.0 (3.4.140.0)
Syntax public void QueryDevice(
uint DeviceNumber,
ref long DiskSize,
ref uint BytesPerSector,
ref long ImageOffset,
ref DeviceFlags Flags,
ref string Filename
)
Public Sub QueryDevice (
DeviceNumber As UInteger,
ByRef DiskSize As Long,
ByRef BytesPerSector As UInteger,
ByRef ImageOffset As Long,
ByRef Flags As DeviceFlags,
ByRef Filename As String
)
public:
void QueryDevice(
unsigned int DeviceNumber,
long long% DiskSize,
unsigned int% BytesPerSector,
long long% ImageOffset,
DeviceFlags% Flags,
String^% Filename
)
member QueryDevice :
DeviceNumber : uint32 *
DiskSize : int64 byref *
BytesPerSector : uint32 byref *
ImageOffset : int64 byref *
Flags : DeviceFlags byref *
Filename : string byref -> unit
Parameters
- DeviceNumber
- Type: SystemUInt32
Device number of virtual disk to retrieve properties for. - DiskSize
- Type: SystemInt64
Size of virtual disk. - BytesPerSector
- Type: SystemUInt32
Number of bytes per sector for virtual disk geometry. - ImageOffset
- Type: SystemInt64
A skip offset if virtual disk data does not begin immediately at start of disk image file.
Frequently used with image formats like Nero NRG which start with a file header not used by Arsenal Image Mounter
or Windows filesystem drivers. - Flags
- Type: Arsenal.ImageMounterDeviceFlags
Flags specifying properties for virtual disk. See comments for each flag value. - Filename
- Type: SystemString
Name of disk image file holding storage for file type virtual disk or used to create a
virtual memory type virtual disk.
See Also