Added PeekNamedPipe stub.

This commit is contained in:
Andreas Mohr 2000-04-08 20:21:36 +00:00 committed by Alexandre Julliard
parent 66e47407d0
commit 920d9c6fe2
2 changed files with 16 additions and 1 deletions

View File

@ -567,7 +567,7 @@ import ntdll.dll
549 stdcall OutputDebugStringW(wstr) OutputDebugStringW
550 stdcall PeekConsoleInputA(ptr ptr long ptr) PeekConsoleInputA
551 stdcall PeekConsoleInputW(ptr ptr long ptr) PeekConsoleInputW
552 stub PeekNamedPipe
552 stdcall PeekNamedPipe(long ptr long ptr ptr ptr) PeekNamedPipe
553 stub PostQueuedCompletionStatus
554 stdcall PrepareTape(ptr long long) PrepareTape
555 stdcall Process32First (ptr ptr) Process32First

View File

@ -88,6 +88,21 @@ HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode,
return INVALID_HANDLE_VALUE;
}
/***********************************************************************
* PeekNamedPipe (KERNEL32.552)
*/
BOOL WINAPI PeekNamedPipe (HANDLE hPipe,
LPVOID lpvBuffer, DWORD cbBuffer,
LPDWORD lpcbRead, LPDWORD lpcbAvail, LPDWORD lpcbMessage)
{
FIXME("(%08x, %p, %08lx, %p, %p, %p): stub\n",
hPipe, lpvBuffer, cbBuffer, lpcbRead, lpcbAvail, lpcbMessage);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* GetSystemPowerStatus (KERNEL32.621)
*/