From: Mark H. <mha...@us...> - 2008-02-10 13:34:48
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3589 Modified Files: PythonService.cpp Log Message: Fix handling of the new event codes. Index: PythonService.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PythonService.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** PythonService.cpp 7 Feb 2008 03:33:15 -0000 1.23 --- PythonService.cpp 10 Feb 2008 13:34:49 -0000 1.24 *************** *** 931,935 **** if (pse->bUseEx) { PyObject *sub; ! switch (dwEventType) { case SERVICE_CONTROL_DEVICEEVENT: sub = PyWinObject_FromPARAM((LPARAM)eventData); --- 931,935 ---- if (pse->bUseEx) { PyObject *sub; ! switch (dwCtrlCode) { case SERVICE_CONTROL_DEVICEEVENT: sub = PyWinObject_FromPARAM((LPARAM)eventData); |