CreateSocketHandle,GetHandleContext,SetHandleContext stubs added.

This commit is contained in:
Marcus Meissner 1999-04-22 14:55:06 +00:00 committed by Alexandre Julliard
parent 28613d3d0e
commit 450f96aab4
2 changed files with 33 additions and 3 deletions

View File

@ -189,7 +189,7 @@ init MAIN_KernelInit
173 stub CreateRemoteThread
174 stdcall CreateSemaphoreA(ptr long long str) CreateSemaphoreA
175 stdcall CreateSemaphoreW(ptr long long wstr) CreateSemaphoreW
176 stub CreateSocketHandle
176 stdcall CreateSocketHandle() CreateSocketHandle
177 stub CreateTapePartition
178 stdcall CreateThread(ptr long ptr long long ptr) CreateThread
179 stdcall CreateToolhelp32Snapshot(long long) CreateToolhelp32Snapshot
@ -350,7 +350,7 @@ init MAIN_KernelInit
332 stdcall GetFileType(long) GetFileType
333 stdcall GetFullPathNameA(str long ptr ptr) GetFullPathNameA
334 stdcall GetFullPathNameW(wstr long ptr ptr) GetFullPathNameW
335 stub GetHandleContext
335 stdcall GetHandleContext(long) GetHandleContext
336 stdcall GetHandleInformation(long ptr) GetHandleInformation
337 stub GetLSCallbackTarget
338 stub GetLSCallbackTemplate
@ -667,7 +667,7 @@ init MAIN_KernelInit
648 stdcall SetFileAttributesW(wstr long) SetFileAttributesW
649 stdcall SetFilePointer(long long ptr long) SetFilePointer
650 stdcall SetFileTime(long ptr ptr ptr) SetFileTime
651 stub SetHandleContext
651 stdcall SetHandleContext(long long) SetHandleContext
652 stdcall SetHandleCount(long) SetHandleCount
653 stdcall SetHandleInformation(long long long) SetHandleInformation
654 stdcall SetLastError(long) SetLastError

View File

@ -8,7 +8,10 @@
#include <stdio.h>
#include "winbase.h"
#include "server.h"
#include "winerror.h"
#include "debug.h"
DEFAULT_DEBUG_CHANNEL(win32)
/*********************************************************************
* CloseHandle (KERNEL32.23)
@ -95,3 +98,30 @@ HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc)
CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL );
return reply.handle;
}
/***********************************************************************
* SetHandleContext (KERNEL32)
*/
BOOL WINAPI SetHandleContext(HANDLE hnd,DWORD context) {
FIXME(win32,"(%d,%ld), stub. The external WSOCK32 will not work with WINE, do not use it.\n",hnd,context);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* GetHandleContext (KERNEL32)
*/
DWORD WINAPI GetHandleContext(HANDLE hnd) {
FIXME(win32,"(%d), stub. The external WSOCK32 will not work with WINE, do not use it.\n",hnd);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
/***********************************************************************
* CreateSocketHandle (KERNEL32)
*/
HANDLE WINAPI CreateSocketHandle(void) {
FIXME(win32,"(), stub. The external WSOCK32 will not work with WINE, do not use it.\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return INVALID_HANDLE_VALUE;
}