Click or drag to resize

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
)

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