Change CreateRemoteThread() from Unhandled to a Fixme

Roger Olson u60 at comcast.net
Mon Jul 5 18:38:59 CDT 2004


Corretion to prior Patch submission to correct format error.

ChangeLog:
* Change CreateRemoteThread() from an unhandled exception to a fixme.

-------------- next part --------------
Index: dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.136
diff -u -u -r1.136 kernel32.spec
--- dlls/kernel/kernel32.spec	15 Jun 2004 00:52:03 -0000	1.136
+++ dlls/kernel/kernel32.spec	5 Jul 2004 16:54:09 -0000
@@ -221,7 +221,7 @@
 @ stdcall CreatePipe(ptr ptr ptr long)
 @ stdcall CreateProcessA(str str ptr ptr long long ptr str ptr ptr)
 @ stdcall CreateProcessW(wstr wstr ptr ptr long long ptr wstr ptr ptr)
-@ stub CreateRemoteThread
+@ stdcall CreateRemoteThread(long ptr long ptr long long ptr)
 @ stdcall CreateSemaphoreA(ptr long long str)
 @ stdcall CreateSemaphoreW(ptr long long wstr)
 @ stdcall CreateSocketHandle()
Index: dlls/kernel/thread.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/thread.c,v
retrieving revision 1.18
diff -u -u -r1.18 thread.c
--- dlls/kernel/thread.c	14 Jun 2004 17:04:35 -0000	1.18
+++ dlls/kernel/thread.c	5 Jul 2004 16:54:09 -0000
@@ -157,6 +157,31 @@
 }
 
 
+/***************************************************************************
+ *                  CreateRemoteThread   (KERNEL32.@)  
+ *  
+ * Creates a thread that runs in the address space of another process
+ *
+ * PARAMS
+ *
+ * RETURNS
+ *   Success: Handle to the new thread.
+ *   Failure: NULL. Use GetLastError() to find the error cause.
+ *
+ * BUGS
+ *   Unimplemented
+ */
+HANDLE WINAPI CreateRemoteThread( HANDLE hProcess, SECURITY_ATTRIBUTES *sa, SIZE_T stack,
+                                  LPTHREAD_START_ROUTINE start, LPVOID param,
+                                  DWORD flags, LPDWORD id )
+{
+    FIXME("(): stub, Write Me.\n");
+
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);  
+    return NULL;
+}
+
+
 /***********************************************************************
  * OpenThread  [KERNEL32.@]   Retrieves a handle to a thread from its thread id
  */


More information about the wine-patches mailing list