kernel32: Add SYNCHRONIZE access to mailslot handles.

Don't bother to request write access.
This commit is contained in:
Alexandre Julliard 2007-04-10 22:24:40 +02:00
parent 5eb6c11aba
commit 83cef86f29
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{