I\'ve opened a file with CreateFileW and set the dwShareMode parameter to 0 (no sharing).
dwShareMode
0
I could try and create a the file again and use