Stubs for WaitNamedPipe[A|W].

This commit is contained in:
Juergen Schmied 1998-12-18 13:46:39 +00:00 committed by Alexandre Julliard
parent a03f064175
commit 45459a55d4
3 changed files with 22 additions and 4 deletions

View file

@ -109,6 +109,10 @@ extern int WIN32_LastError;
#define ERROR_BAD_EXE_FORMAT 193
#define ERROR_FILENAME_EXCED_RANGE 206
#define ERROR_META_EXPANSION_TOO_LONG 208
#define ERROR_BAD_PIPE 230
#define ERROR_PIPE_BUSY 231
#define ERROR_NO_DATA 232
#define ERROR_PIPE_NOT_CONNECTED 233
#define ERROR_MORE_DATA 234
#define ERROR_NO_MORE_ITEMS 259
#define ERROR_DIRECTORY 267

View file

@ -741,8 +741,8 @@ init MAIN_KernelInit
722 stdcall WaitForMultipleObjectsEx(long ptr long long long) WaitForMultipleObjectsEx
723 stdcall WaitForSingleObject(long long) WaitForSingleObject
724 stdcall WaitForSingleObjectEx(long long long) WaitForSingleObjectEx
725 stub WaitNamedPipeA
726 stub WaitNamedPipeW
725 stdcall WaitNamedPipeA (str long) WaitNamedPipe32A
726 stdcall WaitNamedPipeW (wstr long) WaitNamedPipe32W
727 stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr) WideCharToMultiByte
728 stdcall WinExec(str long) WinExec32
729 stdcall WriteConsoleA(long ptr long ptr ptr) WriteConsole32A

View file

@ -1138,5 +1138,19 @@ BOOL32 WINAPI UpdateResource32W(
}
/***********************************************************************
* WaitNamedPipe32A [KERNEL32.725]
*/
BOOL32 WINAPI WaitNamedPipe32A (LPCSTR lpNamedPipeName, DWORD nTimeOut)
{ FIXME (win32,"%s 0x%08lx\n",lpNamedPipeName,nTimeOut);
SetLastError(ERROR_PIPE_NOT_CONNECTED);
return FALSE;
}
/***********************************************************************
* WaitNamedPipe32W [KERNEL32.726]
*/
BOOL32 WINAPI WaitNamedPipe32W (LPCWSTR lpNamedPipeName, DWORD nTimeOut)
{ FIXME (win32,"%s 0x%08lx\n",debugstr_w(lpNamedPipeName),nTimeOut);
SetLastError(ERROR_PIPE_NOT_CONNECTED);
return FALSE;
}