PmcProcMemCounter.QuotaPagedPoolUsage/1024. 0f ) ĬsTempStr.Format( _T( " Quota paged pool size: %.02lf KB" ), PmcProcMemCounter.QuotaNonPagedPoolUsage/1024. 0f ) ĬsTempStr.Format( _T( " Quota non paged pool size: %.02lf KB" ), PmcProcMemCounter.PeakWorkingSetSize/1024. 0f ) ĬsTempStr.Format( _T( " Peak working set size: %.02lf KB" ), PmcProcMemCounter.PeakPagefileUsage/1024. 0f ) ĬsTempStr.Format( _T( " Peak page file usage: %.02lf KB" ), M_ctvProcess.InsertItem( csTempStr, nIconIndex, nIconIndex, hPInfoItem ) ĬsTempStr.Format( _T( " Page file usage: %.02lf KB" ), HTREEITEM hPInfoItem = m_ctvProcess.InsertItem( _T( " Details" ),ĬsTempStr.Format( _T( " Page fault count: %lu" ), PROCESS_MEMORY_COUNTERS& pmcProcMemCounter = pstProcInfo->stpmcMemCounters M_ctvProcess.SetItemData( hItem, RCAST( DWORD, pstProcInfo )) HTREEITEM hItem = m_ctvProcess.InsertItem( csProc, 20, 20, hItemRoot ) PstProcInfo->csFullPath : pstProcInfo->csBaseName )), M_ToolBar.GetToolBarCtrl().IsButtonChecked( ID_OPTIONS_SHOWPATH ) Get full path display status, if checked then we will display full path const BOOL bFullPathChecked = GetModuleBaseName( hProcModule, hModules, szName, MAX_PATH ) GetModuleFileNameEx( hProcModule, hModules, szName, MAX_PATH ) HTREEITEM hItemRoot = m_ctvProcess.InsertItem( _T( " Process list" ), 60, 60 ) įor( DWORD dwIndex = 0 dwIndex dwProcId = dwProcIdentifiers Clear previous associated item data if anyĮnumProcesses( dwProcIdentifiers, sizeof( dwProcIdentifiers ), &dwSize ) Lookup that class for more information on these version functions and how to use them. There is a class called FileVersionInfo written for this purpose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |