阅读:907回复:2
简单一问,ZwWriteFile()的buffer如何写到文件的结尾?
我每次都写到文件的开头,不知道问什么会这样?
ByteOffset这个如何设置呢? [编辑 - 11/2/04 by aasa2] |
|
|
沙发#
发布于:2004-11-02 15:20
It is also possible to cause a write operation to start at the current end of file by specifying for ByteOffset a pointer to a LARGE_INTEGER value with HighPart set to -1 and LowPart set to FILE_WRITE_TO_END_OF_FILE. This works whether or not the I/O Manager is maintaining the current file position.
|
|
|
板凳#
发布于:2004-11-08 08:30
现在我又发现一个问题,当文件达到112k后,数据就很难写进去。
大家又没有什么解决办法,或意见? |
|
|