ImDiskAPIConvertCHSToLBA Method (NativeFileIOWin32APIDISK_GEOMETRY, Byte) |
This function converts a CHS disk address to LBA format.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax public static uint ConvertCHSToLBA(
DISK_GEOMETRY DiskGeometry,
byte[] CHS
)
Public Shared Function ConvertCHSToLBA (
DiskGeometry As DISK_GEOMETRY,
CHS As Byte()
) As UInteger
public:
static unsigned int ConvertCHSToLBA(
DISK_GEOMETRY DiskGeometry,
array<unsigned char>^ CHS
)
static member ConvertCHSToLBA :
DiskGeometry : DISK_GEOMETRY *
CHS : byte[] -> uint32
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. - CHS
- Type: SystemByte
Pointer to CHS disk address in three-byte partition table
style format.
Return Value
Type:
UInt32Calculated LBA disk address.
See Also