[pywin32-checkins] pywin32/win32/src PyWinTypesmodule.cpp, 1.41, 1.42
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-11 00:26:46
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22768/win32/src Modified Files: PyWinTypesmodule.cpp Log Message: Add autoduck entry for PyMSG Index: PyWinTypesmodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyWinTypesmodule.cpp,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** PyWinTypesmodule.cpp 7 Oct 2008 11:28:10 -0000 1.41 --- PyWinTypesmodule.cpp 11 Nov 2008 00:26:34 -0000 1.42 *************** *** 737,750 **** } BOOL PyWinObject_AsMSG(PyObject *ob, MSG *pMsg) { PyObject *obhwnd; if (!PyArg_ParseTuple(ob, "Oiiii(ii):MSG param", ! &obhwnd, ! &pMsg->message, ! &pMsg->wParam, ! &pMsg->lParam, ! &pMsg->time, ! &pMsg->pt.x, &pMsg->pt.y)) return FALSE; --- 737,751 ---- } + // @object PyMSG|A tuple representing a win32 MSG structure. BOOL PyWinObject_AsMSG(PyObject *ob, MSG *pMsg) { PyObject *obhwnd; if (!PyArg_ParseTuple(ob, "Oiiii(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. ! &pMsg->wParam, // @tupleitem 2|int|wParam|Specifies additional information about the message. ! &pMsg->lParam, // @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; |