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)
|