On Wednesday, September 23, 2020 at 1:26:10 PM UTC-4 helhadad wrote:

> Thanks Ian, 
> The root cause of this issue is not the hard drive, it is something with 
> overlapped offset and high offset values, need to be set to 0 to have a 
> smooth APPEND to the file.
> I need to use /x/sys/windows package to call this function WriteFile(handle 
> Handle, buf []byte, done *uint32, overlapped *Overlapped) (err error).
> However, there is neither examples nor clarification on how to use or call 
> the function.
>

Less than Ideal, but you could look at how others use it: 
https://github.com/search?l=Go&q=%22windows.WriteFile%22&type=Code

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/8ccecc38-cd2b-4d6e-9c84-fcfe19e7adb1n%40googlegroups.com.

Reply via email to