[pywin32-checkins] pywin32/win32/src win32file.i,1.68,1.69
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-01-17 14:33:44
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29235/win32/src Modified Files: win32file.i Log Message: Fix place where HWND treated as a long Index: win32file.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32file.i,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** win32file.i 6 Jan 2007 19:30:53 -0000 1.68 --- win32file.i 17 Jan 2007 14:33:42 -0000 1.69 *************** *** 2193,2197 **** ( SOCKET *s, ! LONG hwnd, LONG wMsg, LONG lNetworkEvents --- 2193,2197 ---- ( SOCKET *s, ! HWND hwnd, LONG wMsg, LONG lNetworkEvents *************** *** 2200,2204 **** int rc; Py_BEGIN_ALLOW_THREADS; ! rc = WSAAsyncSelect(*s, (HWND)hwnd, wMsg, lNetworkEvents); Py_END_ALLOW_THREADS; if (rc == SOCKET_ERROR) --- 2200,2204 ---- int rc; Py_BEGIN_ALLOW_THREADS; ! rc = WSAAsyncSelect(*s, hwnd, wMsg, lNetworkEvents); Py_END_ALLOW_THREADS; if (rc == SOCKET_ERROR) *************** *** 2217,2221 **** ( SOCKET *s, // @pyparm <o PySocket>|socket||socket to attach to the event ! LONG hwnd, // @pyparm <o hwnd>|hwnd||Window handle for the socket to become attached to. LONG wMsg, // @pyparm <o int>|int||Window message that will be posted. LONG lNetworkEvents // @pyparm int|networkEvents||A bitmask of network events that will cause wMsg to be posted. e.g. (FD_CLOSE \| FD_READ) --- 2217,2221 ---- ( SOCKET *s, // @pyparm <o PySocket>|socket||socket to attach to the event ! HWND hwnd, // @pyparm <o hwnd>|hwnd||Window handle for the socket to become attached to. LONG wMsg, // @pyparm <o int>|int||Window message that will be posted. LONG lNetworkEvents // @pyparm int|networkEvents||A bitmask of network events that will cause wMsg to be posted. e.g. (FD_CLOSE \| FD_READ) |