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, ...@@ -174,11 +174,11 @@ BOOL WINAPI GetMailslotInfo( HANDLE hMailslot, LPDWORD lpMaxMessageSize,
LPDWORD lpNextSize, LPDWORD lpMessageCount, LPDWORD lpNextSize, LPDWORD lpMessageCount,
LPDWORD lpReadTimeout ) LPDWORD lpReadTimeout )
{ {
FIXME_(win32)("(%d): stub\n",hMailslot); FIXME_(win32)("(%04x): stub\n",hMailslot);
*lpMaxMessageSize = (DWORD)NULL; if (lpMaxMessageSize) *lpMaxMessageSize = (DWORD)NULL;
*lpNextSize = (DWORD)NULL; if (lpNextSize) *lpNextSize = (DWORD)NULL;
*lpMessageCount = (DWORD)NULL; if (lpMessageCount) *lpMessageCount = (DWORD)NULL;
*lpReadTimeout = (DWORD)NULL; if (lpReadTimeout) *lpReadTimeout = (DWORD)NULL;
return TRUE; 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