Alexandre Julliard : kernel32: Add SYNCHRONIZE access to mailslot
handles.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 11 06:42:07 CDT 2007
Module: wine
Branch: master
Commit: 83cef86f29bc5ad2ce80652f86a9b9f98a26ad35
URL: http://source.winehq.org/git/wine.git/?a=commit;h=83cef86f29bc5ad2ce80652f86a9b9f98a26ad35
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Apr 10 22:24:40 2007 +0200
kernel32: Add SYNCHRONIZE access to mailslot handles.
Don't bother to request write access.
---
dlls/kernel32/sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 8ee0e71..7c15fd8 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -1701,7 +1701,7 @@ HANDLE WINAPI CreateMailslotW( LPCWSTR lpName, DWORD nMaxMessageSize,
else
timeout.QuadPart = ((LONGLONG)0x7fffffff << 32) | 0xffffffff;
- status = NtCreateMailslotFile( &handle, GENERIC_READ | GENERIC_WRITE, &attr,
+ status = NtCreateMailslotFile( &handle, GENERIC_READ | SYNCHRONIZE, &attr,
&iosb, 0, 0, nMaxMessageSize, &timeout );
if (status)
{
More information about the wine-cvs
mailing list