NTDLL: Use FILE_OPEN instead of OPEN_EXISTING
Mike McCormack
mike at codeweavers.com
Mon Jan 16 23:10:48 CST 2006
ChangeLog:
Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile,
as the latter is part of the Win32 API, and the value (3) is
actually FILE_OPEN_IF in the NTAPI, which may create a file.
dlls/ntdll/reg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2badf3874d33ce16373bfd18d27d7489220a9926.diff
Type: text/x-patch
Size: 522 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060117/560be4a8/2badf3874d33ce16373bfd18d27d7489220a9926-0001.diff
More information about the wine-patches
mailing list