[pywin32-checkins] pywin32/win32/src win32apimodule.cpp,1.77,1.78
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-06-18 15:44:23
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22741/win32/src Modified Files: win32apimodule.cpp Log Message: Use 'H' format code for WORD values in SYSTEM_INFO struct Index: win32apimodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32apimodule.cpp,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** win32apimodule.cpp 3 Jun 2007 14:53:07 -0000 1.77 --- win32apimodule.cpp 18 Jun 2007 15:44:21 -0000 1.78 *************** *** 1816,1820 **** SYSTEM_INFO info; GetSystemInfo( &info ); ! return Py_BuildValue("iiNNNiii(ii)", #if !defined(MAINWIN) info.dwOemId, --- 1816,1820 ---- SYSTEM_INFO info; GetSystemInfo( &info ); ! return Py_BuildValue("iiNNNiii(HH)", #if !defined(MAINWIN) info.dwOemId, *************** *** 1831,1835 **** // @rdesc The return value is a tuple of 9 values, which corresponds // to the Win32 SYSTEM_INFO structure. The element names are: ! // <nl>dwOemId<nl>dwPageSize<nl>lpMinimumApplicationAddress<nl>lpMaximumApplicationAddress<nl>, // dwActiveProcessorMask<nl>dwNumberOfProcessors<nl> // dwProcessorType<nl>dwAllocationGranularity<nl>(wProcessorLevel,wProcessorRevision) --- 1831,1835 ---- // @rdesc The return value is a tuple of 9 values, which corresponds // to the Win32 SYSTEM_INFO structure. The element names are: ! // <nl>dwOemId<nl>dwPageSize<nl>lpMinimumApplicationAddress<nl>lpMaximumApplicationAddress<nl> // dwActiveProcessorMask<nl>dwNumberOfProcessors<nl> // dwProcessorType<nl>dwAllocationGranularity<nl>(wProcessorLevel,wProcessorRevision) |