Disk Editor API - VB Format

Windows 95

Public Declare Function ReadSectorOldW95 Lib "hackdisk.dll" (ByVal drv As Byte, ByVal Sector As Long, ByVal Count As Integer, ByVal Buffer As String) As Long

Public Declare Function WriteSectorOldW95 Lib "hackdisk.dll" (ByVal drv As Byte, ByVal Sector As Long, ByVal Count As Integer, ByVal Buffer As String) As Long

Windows 95 OSR2/98/ME

Public Declare Function ReadSector Lib "hackdisk.dll" (ByVal drv As Byte, ByVal Sector As Long, ByVal Count As Integer, ByVal Buffer As String) As Long

Public Declare Function WriteSector Lib "hackdisk.dll" (ByVal drv As Byte, ByVal Sector As Long, ByVal Count As Integer, ByVal Buffer As String) As Long

Windows NT/2000/XP

Public Declare Function ReadSectorW2K Lib "hackdisk.dll" (ByVal sDrive As String, ByVal LowPos As Double, ByVal HighPos As Double, ByVal Count As Integer, ByVal Buffer As String, ByVal BufferSize As Long) As Long

Public Declare Function WriteSectorW2K Lib "hackdisk.dll" (ByVal sDrive As String, ByVal LowPos As Long, ByVal HighPos As Long, ByVal Count As Integer, ByVal Buffer As String, ByVal BufferSize As Long) As Long

Back.