Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk-api-src/content/winternl/nf-winternl-ntcreatefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ Certain <i>DesiredAccess</i> flags and combinations of flags have the following

<ul>
<li>For a caller to synchronize an I/O completion by waiting on the returned <i>FileHandle</i>, the <b>SYNCHRONIZE</b> flag must be set.</li>
<li>Passing a zero to <i>DesiredFlags</i> is not valid.</li>
<li>Passing a zero to <i>DesiredAccess</i> is not valid.</li>
<li>If only the <b>FILE_APPEND_DATA</b> and <b>SYNCHRONIZE</b> flags are set, the caller can write only to the end of the file, and any offset information on writes to the file is ignored. However, the file is automatically extended as necessary for this type of write operation.</li>
<li>Setting the <b>FILE_WRITE_DATA</b> flag for a file also allows writes beyond the end of the file to occur. The file is automatically extended for this type of write, as well.</li>
<li>If only the <b>FILE_EXECUTE</b> and <b>SYNCHRONIZE</b> flags are set, the caller cannot directly read or write any data in the file using the returned <i>FileHandle</i>, that is, all operations on the file occur through the system pager in response to instruction and data accesses. </li>
Expand Down