VirtualBox

Changeset 24341 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 4, 2009 3:23:59 PM (15 years ago)
Author:
vboxsync
Message:

fileio-win.cpp: clearify.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r24338 r24341  
    220220    }
    221221    if (dwCreationDisposition == TRUNCATE_EXISTING)
    222         /* The calling process must open the file with the GENERIC_WRITE bit set as part of the dwDesiredAccess parameter. */
     222        /* Required for truncating the file (see MSDN), it is *NOT* part of FILE_GENERIC_WRITE. */
    223223        dwDesiredAccess |= GENERIC_WRITE;
    224224
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette