Update of /cvsroot/pywin32/pywin32/win32/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23428/win32/src
Modified Files:
Tag: py3k
PyWinTypesmodule.cpp
Log Message:
Merge autoduck for PyMSG from trunk
Index: PyWinTypesmodule.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypesmodule.cpp,v
retrieving revision 1.39.2.8
retrieving revision 1.39.2.9
diff -C2 -d -r1.39.2.8 -r1.39.2.9
*** PyWinTypesmodule.cpp 11 Oct 2008 18:43:40 -0000 1.39.2.8
--- PyWinTypesmodule.cpp 11 Nov 2008 00:39:36 -0000 1.39.2.9
***************
*** 770,783 ****
}
BOOL PyWinObject_AsMSG(PyObject *ob, MSG *pMsg)
{
PyObject *obhwnd, *obwParam, *oblParam;
if (!PyArg_ParseTuple(ob, "OiOOi(ii):MSG param",
! &obhwnd,
! &pMsg->message,
! &obwParam,
! &oblParam,
! &pMsg->time,
! &pMsg->pt.x,
&pMsg->pt.y))
return FALSE;
--- 770,784 ----
}
+ // @object PyMSG|A tuple representing a win32 MSG structure.
BOOL PyWinObject_AsMSG(PyObject *ob, MSG *pMsg)
{
PyObject *obhwnd, *obwParam, *oblParam;
if (!PyArg_ParseTuple(ob, "OiOOi(ii):MSG param",
! &obhwnd, // @tupleitem 0|<o PyHANDLE>|hwnd|Handle to the window whose window procedure receives the message.
! &pMsg->message, // @tupleitem 1|int|message|Specifies the message identifier.
! &obwParam, // @tupleitem 2|int|wParam|Specifies additional information about the message.
! &oblParam, // @tupleitem 3|int|lParam|Specifies additional information about the message.
! &pMsg->time, // @tupleitem 4|int|time|Specifies the time at which the message was posted (retrieved via GetTickCount()).
! &pMsg->pt.x, // @tupleitem 5|(int, int)|point|Specifies the cursor position, in screen coordinates, when the message was posted.
&pMsg->pt.y))
return FALSE;
|