GetMailslotInfo is supposed to check for pointer validity.

oldstable
Andreas Mohr 1999-05-04 16:54:39 +00:00 committed by Alexandre Julliard
parent 017d22126b
commit 99920819a5
1 changed files with 5 additions and 5 deletions

View File

@ -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;
}