[pywin32-checkins] pywin32/win32/src win32pdhmodule.cpp,1.13,1.14
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-01-20 23:33:30
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19137/win32/src Modified Files: win32pdhmodule.cpp Log Message: Fix place where HANDLE treated as long Index: win32pdhmodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32pdhmodule.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** win32pdhmodule.cpp 20 Jan 2007 17:44:26 -0000 1.13 --- win32pdhmodule.cpp 20 Jan 2007 23:33:29 -0000 1.14 *************** *** 470,474 **** return PyWin_SetAPIError("AddCounter", pdhStatus); // @comm See also <om win32pdh.RemoveCounter> ! return PyInt_FromLong((long)hCounter); } --- 470,474 ---- return PyWin_SetAPIError("AddCounter", pdhStatus); // @comm See also <om win32pdh.RemoveCounter> ! return PyWinLong_FromHANDLE(hCounter); } |