

warning! change name for other drives: ex.: second drive '\\.\PhysicalDrive1\' If SysUtils.Win32Platform=VER_PLATFORM_WIN32_NT then // Windows NT, Windows 2000 Result := '' // return empty string on error Procedure ChangeByteOrder( var Data Size : Integer ) IdOutCmd : TSendCmdOutParams absolute aIdOutCmd Buffer of arbitrary length in which to store the data read from the drive.ĪIdOutCmd : Array of Byte Only valid when bDriverError is SMART_IDE_ERROR.

Error code from driver, or 0 if no error. Physical drive number to send command to (0,1,2,3).īBuffer : Array of Byte // Input buffer. Now you can get real serial number of IDE hardisk.ġ204 "IDE harddisk serial number (Part 2)"įunction GetIdeSerialNumber : SerialNumber īFeaturesReg : BYTE // Used for specifying SMART "commands".īSectorCountReg : BYTE // IDE sector count registerīSectorNumberReg : BYTE // IDE sector number registerīCylLowReg : BYTE // IDE low order cylinder valueīCylHighReg : BYTE // IDE high order cylinder valueīDriveHeadReg : BYTE // IDE drive/head registerīCommandReg : BYTE // Actual IDE command.īReserved : BYTE // reserved for future use. Of course, volume serial numbers for these disks are identical. Use cloning tools for installing software on all new computers by copyingįrom the single harddisk to all another. It is assigned and changed during formatting of partition. But it is the volume serial number, not harddisk s/n. Most FAQ manuals recommend to use GetVolumeInformation for extracting of "harddisk serial number". Question: You can get model name, firmware revision, serial number and other IDE harddisk information.
