SetFilePointer(hFile, 0, NULL, FILE_BEGIN); 

SetEndOfFile(hFile);

FlushFileBuffers(hFile); //先把写文件缓冲区的数据强制写入磁盘。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-11-09
  • 2022-01-08
相关资源
相似解决方案