kernel32: Add SYNCHRONIZE access to mailslot handles.
Don't bother to request write access.
This commit is contained in:
parent
5eb6c11aba
commit
83cef86f29
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue