Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

117 lines
4.6 KiB

#include <windows.h>
#include <ntverp.h>
#include "pperf.h"
WINPERF_ICON ICON pperf.ico
IDM_SEL_DLG DIALOG 31, 30, 260, 127
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Pperf Option Selection"
FONT 8, "MS Shell Dlg"
BEGIN
AUTOCHECKBOX "K.Reserved[0]", IDM_SPIN_ACQUIRE, 11, 50, 75, 13
AUTOCHECKBOX "K.Reserved[1]", IDM_SPIN_COLL, 11, 62, 75, 13
AUTOCHECKBOX "K.Reserved[2]", IDM_SPIN_SPIN, 11, 76, 75, 13
AUTOCHECKBOX "K.Reserved[3]", IDM_IRQL, 96, 50, 75, 13
AUTOCHECKBOX "Interrupts", IDM_INT, 96, 76, 75, 13
AUTOCHECKBOX "Logit", IDM_LOGIT, 175, 50, 75, 13
AUTOCHECKBOX "Use global scale", IDM_SCALE, 175, 62, 75, 13
AUTOCHECKBOX "?", IDM_PERCENT, 175, 76, 75, 13
DEFPUSHBUTTON "Ok", IDOK, 16, 108, 40, 14
PUSHBUTTON "Accept", IDM_ACCEPT, 100, 108, 40, 14
PUSHBUTTON "Cancel", IDCANCEL, 180, 108, 40, 14
LTEXT "Internal Counter # 1", 108, 10, 17, 82, 13
COMBOBOX IDM_P5_GEN1, 94, 16, 105, 78, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Internal Counter # 2", 110, 10, 34, 82, 13
COMBOBOX IDM_P5_GEN2, 94, 33, 105, 77, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_R0_0, 206, 17, 9, 9, WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_R3_0, 220, 17, 9, 9, WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_K_0, 234, 17, 9, 9, WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_R0_1, 206, 35, 9, 9, WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_R3_1, 220, 35, 9, 9, WS_TABSTOP
AUTOCHECKBOX "", IDM_P5_K_1, 234, 35, 9, 9, WS_TABSTOP
LTEXT "R0 R3 K", 116, 205, 4, 40, 10
END
IDM_THUNK_DLG DIALOG 27, 29, 282, 171
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Monitor thunk"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDM_THUNK_LIST, 6, 66, 174, 100, LBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "Source Driver", 302, 13, 16, 53, 8
LTEXT "Target Driver", 303, 85, 16, 48, 10
LTEXT "Function", 304, 158, 16, 74, 11
COMBOBOX IDM_THUNK_SOURCE, 14, 26, 64, 137, CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDM_THUNK_IMPORT, 85, 26, 64, 137, CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDM_THUNK_FUNCTION, 158, 26, 110, 137, CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "Current", 308, 6, 54, 87, 8
PUSHBUTTON "Add", IDM_THUNK_ADD, 205, 72, 40, 14
PUSHBUTTON "Remove", IDM_THUNK_REMOVE, 205, 95, 40, 14
PUSHBUTTON "Clear All", IDM_THUNK_CLEAR_ALL, 205, 118, 40, 14
PUSHBUTTON "Done", IDOK, 205, 140, 40, 14
GROUPBOX "New monitor", 313, 6, 4, 269, 41
END
IDM_CALC_DLG DIALOG 48, 59, 211, 111
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Calc Perf"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "A. Item selected # 1", IDM_CALC_TEXTA, 21, 18, 121, 9
LTEXT "B. Item selected # 1", IDM_CALC_TEXTB, 21, 31, 121, 9
AUTORADIOBUTTON "A % of B", IDM_CALC_FORM1, 9, 47, 81, 11
AUTORADIOBUTTON "A + B", IDM_CALC_FORM2, 9, 61, 81, 11
AUTORADIOBUTTON "TBF", IDM_CALC_FORM3, 9, 77, 81, 11
AUTORADIOBUTTON "TBF", IDM_CALC_FORM4, 9, 92, 81, 11
PUSHBUTTON "Add", IDOK, 156, 54, 40, 14
PUSHBUTTON "Cancel", IDCANCEL, 156, 85, 40, 14
END
pperfMenu MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit",IDM_EXIT
MENUITEM "&HackTest",IDM_HACK
END
MENUITEM "&Select" ,IDM_SELECT
MENUITEM "&Thunk" ,IDM_THUNK
POPUP "&Disp"
BEGIN
MENUITEM "&Total", IDM_DISPLAY_TOTAL
MENUITEM "&Breakdown", IDM_DISPLAY_BREAKDOWN
MENUITEM "&Per-Processor", IDM_DISPLAY_PER_PROCESSOR
MENUITEM "Top-&Most", IDM_TOPMOST
END
END
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Pentium Performance Counters Configuration and Display"
#define VER_INTERNALNAME_STR "PPERF.EXE"
#define VER_ORIGINALFILENAME_STR "PPERF.EXE"
#include "common.ver"