17、把光标定位到某点 function FileSeek(Handle, Off, Origin: Integer): Integer; overload; function FileSeek(Handle: Integer; const Off: Int64; Origin: Integer): Int64; overload;
Off为偏移量
Origin为开始模式 Origin Action
0 The file poer is positioned Off s from the beginning of the file. 1 The file poer is positioned Off s from its current position. 2 The file poer is positioned Off s from the end of the file.
18、把文件读到缓冲区 function FileRead(Handle: Integer; var Buffer; Count: Integer): Integer;