Commit 99920819 authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

GetMailslotInfo is supposed to check for pointer validity.

parent 017d2212
......@@ -174,11 +174,11 @@ BOOL WINAPI GetMailslotInfo( HANDLE hMailslot, LPDWORD lpMaxMessageSize,
LPDWORD lpNextSize, LPDWORD lpMessageCount,
LPDWORD lpReadTimeout )
{
FIXME_(win32)("(%d): stub\n",hMailslot);
*lpMaxMessageSize = (DWORD)NULL;
*lpNextSize = (DWORD)NULL;
*lpMessageCount = (DWORD)NULL;
*lpReadTimeout = (DWORD)NULL;
FIXME_(win32)("(%04x): stub\n",hMailslot);
if (lpMaxMessageSize) *lpMaxMessageSize = (DWORD)NULL;
if (lpNextSize) *lpNextSize = (DWORD)NULL;
if (lpMessageCount) *lpMessageCount = (DWORD)NULL;
if (lpReadTimeout) *lpReadTimeout = (DWORD)NULL;
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment