CVS: winex/win32 newfns.c,1.13,1.14

[email protected] 31 Jul 2007 17:59:41 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/win32 newfns.c,1.13,1.14Update of /var/lib/cvsd/cvsroot/winex/win32
In directory agravaine:/tmp/cvs-serv24464/win32

Modified Files:
	newfns.c 
Log Message:

Partially implement IO completion ports to the point that they can be used as task queues (ie, not associated with a file handle). Still to be done:
- finish thread accounting for blocking
- implement associating a file handle with an IO completion port
- modify relevant functions to send notifications to an associated IO completion port
- lots of testing of corner cases



Index: newfns.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/win32/newfns.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- newfns.c	30 Mar 2007 15:47:01 -0000	1.13
+++ newfns.c	31 Jul 2007 17:59:39 -0000	1.14
@@ -186,37 +186,3 @@
     FIXME("(%s): stub\n", debugstr_w(lpComputerName));
     return TRUE;
 }
-
-/******************************************************************************
- *		CreateIoCompletionPort (KERNEL32.@)
- */
-HANDLE WINAPI CreateIoCompletionPort(HANDLE hFileHandle,
-HANDLE hExistingCompletionPort, DWORD dwCompletionKey,
-DWORD dwNumberOfConcurrentThreads)
-{
-    FIXME("(%04x, %04x, %08lx, %08lx): stub.\n", hFileHandle, hExistingCompletionPort, dwCompletionKey, dwNumberOfConcurrentThreads);
-    return (HANDLE)NULL;
-}
-
-/******************************************************************************
- *		GetQueuedCompletionStatus (KERNEL32.@)
- */
-BOOL WINAPI GetQueuedCompletionStatus(
-    HANDLE CompletionPort, LPDWORD lpNumberOfBytesTransferred,
-    LPDWORD lpCompletionKey, LPOVERLAPPED *lpOverlapped, DWORD dwMilliseconds
-) {
-    FIXME("(%x,%p,%p,%p,%ld), stub!\n",CompletionPort,lpNumberOfBytesTransferred,lpCompletionKey,lpOverlapped,dwMilliseconds);
-    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
-    return FALSE;
-}
-
-/******************************************************************************
- *		PostQueuedCompletionStatus (KERNEL32.@)
- */
-BOOL WINAPI PostQueuedCompletionStatus(
-    HANDLE CompletionPort, DWORD dwNumberOfBytesTransferred,
-    ULONG_PTR dwCompletionKey, LPOVERLAPPED lpOverlapped)
-{
-    FIXME("(%x,%lu,%lu,%p) stub!\n", CompletionPort, dwNumberOfBytesTransferred, dwCompletionKey, lpOverlapped);
-    return FALSE;
-}