ImDiskAPIConvertCHSToLBA Method (NativeFileIOWin32APIDISK_GEOMETRY, UInt32) |
This function converts an LBA disk address to three-byte partition style CHS
format.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax public static byte[] ConvertCHSToLBA(
DISK_GEOMETRY DiskGeometry,
uint LBA
)
Public Shared Function ConvertCHSToLBA (
DiskGeometry As DISK_GEOMETRY,
LBA As UInteger
) As Byte()
public:
static array<unsigned char>^ ConvertCHSToLBA(
DISK_GEOMETRY DiskGeometry,
unsigned int LBA
)
static member ConvertCHSToLBA :
DiskGeometry : DISK_GEOMETRY *
LBA : uint32 -> byte[]
Parameters
- DiskGeometry
- Type: DISK_GEOMETRY
Pointer to a DISK_GEOMETRY structure that contains
information about logical geometry of the disk. This function only uses the
SectorsPerTrack and TracksPerCylinder members. - LBA
- Type: SystemUInt32
LBA disk address.
Return Value
Type:
ByteCalculated CHS values expressed in an array of three bytes.
See Also